[plug] Tracking and Fixing Memory Leaks

Steve Boak sboak at westnet.com.au
Sun Dec 19 11:29:10 WST 2004


On Sun, 19 Dec 2004 10:20 am, Gavin Chester wrote:
>
> Easy mistake - and one that's new to me.  That is, not knowing that TOP
> outputs differently across different version/distros.
>
> Back to your original topic with my variations:  You originally reported
> Firefox being a memory hog.  I said I saw the same with Galeon - both
> browsers built from/on the Mozilla engine.  At the time I blamed having
> lots of windows and tabs open for the problem on my machine.
>
> However, I've since seen it under different conditions.  The other day I
> had just one Galeon window of five tabs open.  I let it sit there all
> day (not viewing the pages) and by the end of the day Galeon alone was
> gobbling up 17% of my 1Gb of memory and 90% of CPU!!!
>

Hi Gavin 

This may or may not have anything to do with your problem :-)

I don't have a memory problem with Mozilla (Mozilla/5.0 (X11; U; Linux i686; 
en-US; rv:1.6) Gecko/20040413 Debian/1.6-5) on kernel 2.4.22 even after up to 
a week of continuous operation, but I do have a problem with a couple of 
sites with java which use up 100% of my CPU time on a Via C3 500Mhz processor 
- the prime example is Westnet's network status scrolling text applet at 
http://myplace.westnet.com.au/

top results while on the above webpage:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
27032 root      16   0 33496  32m  17m R 77.2  6.6   1:55.57 mozilla-bin
 2995 root       9 -10 37168  27m 2632 S 19.4  5.6   7:54.31 XFree86
27120 root      17   0  1084 1084  832 R  4.6  0.2   0:05.95 top

Steve

-- 
Ph: +61 8 97560662, IP-Phone: FWD# 454566, e164.org# 61897560662 

"Most men occasionally stumble over the truth, but most pick themselves
up and continue on as if nothing had happened." - Winston Churchill




More information about the plug mailing list