[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: memory problem



On 12/27/08 06:59, Vincent Lefevre wrote:
I wonder why so much memory is used and my machine keeps on swapping.
I don't have many applications: iceweasel, liferea, a few xterm's, and
some small background processes.

Here's an output of htop several minutes after quitting iceweasel (it's
still running to do some clean up, I suppose). Below, the processes are
sorted by MEM%, but none of them are taking more that 4% CPU time.

What did you use to generate this report?

  CPU[|||                       5.2%]     Tasks: 112 total, 1 running
Mem[|||||||||||||||||||||233/249MB] Load average: 2.71 2.99 2.75 Swp[|||||||||||||||||| 298/511MB] Uptime: 5 days, 01:10:57

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
30542 lefevre   20   0  466M  154M  2804 S  0.0 62.0  0:00.22 /usr/lib/iceweasel
30513 lefevre   20   0  466M  154M  2804 D  0.0 62.0 37:15.22 /usr/lib/iceweasel
30520 lefevre   20   0  466M  154M  2804 S  0.0 62.0  0:00.00 /usr/lib/iceweasel
30519 lefevre   20   0  466M  154M  2804 S  0.0 62.0  0:01.08 /usr/lib/iceweasel

I think it's interesting (in a bad way...) that there are 6 individual iceweasel processes running, since no matter how many IW windows I have open, there's only one firefox-bin (or, sometimes, xulrunner-stub) process.

[snip]
 2383 root      20   0 60520  2104   960 S  0.0  0.8  1:27.84 /usr/bin/python /u
 2373 root      20   0 60520  2104   960 S  0.0  0.8  8:28.62 /usr/bin/python /u
 3148 lefevre   20   0 18948  1760  1384 S  0.0  0.7  3:13.87 fvwm2 -cmd FvwmM4
 3174 lefevre   20   0 10204  1596  1196 S  0.0  0.6  0:39.00 xterm -geometry 80

Once iceweasel has really quit, everything is back to normal:

  CPU[||                        3.2%]     Tasks: 106 total, 1 running
Mem[||||||||||||| 52/249MB] Load average: 0.29 0.96 1.87 Swp[|||||||| 129/511MB] Uptime: 5 days, 01:20:48

RAM, at least in the US, is dirt cheap, selling at NewEgg for around 10$/GB. Unless, of course, this is an unexpandable laptop.

--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


Reply to: