[plug] Does this appear to be a memory leak?

Tim White weirdo at tigris.org
Sat Oct 23 12:21:03 WST 2004


I noticed after running my box for a few days (12:02:11 up 4 days,
13:41,  4 users,  load average: 0.66, 1.34, 1.93) that my swap usage and
memory usage had risen considerably since boot and was coming quite
unresponsive while switching applications. I knew I had quite a few
firefox windows open and I was running OO.org and FAH so I closed them
all to see if it resolved it. It didn't.
I check in top with it sorted by 'Virtual Image' and also by 'Swapped
size'(as below) showed that gxmms was using LOTS of memory. As all gxmms
does is control xmms I think this is unreasonable. Also
mozilla-Thunderbird (after re-opening) is using a far bit but I believe
that is mainly in the shared librarys kept in memory.
After killing gxmms my memory usage dropped considerably and on
re-loading gxmms all seems to be fine.
Is it possible that there is a memory leek in gxmms? (It was running for
a long time, > 43hrs of CPU time?)
What about mozilla-Thunderbird? I do have 120Mb of emails (that's
includes a PLUG archive dating back to 02) but it gets use over 200m 
Virtual Image size when sending emails (See bottom of email for proof.) 
Is this right? Does that mean it is loading all the messages into 
memory? Should I access local messages by IMAP?
Tim

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  SWAP COMMAND
  1873 tim       15   0  179m 3744  16m S  0.0  1.5  43:58.27 176m gxmms
  5557 tim       15   0  139m  34m  36m S  0.0 14.0   0:08.00 104m
mozilla-thunder
  1402 root       5 -10 68684  12m  49m S  4.0  5.2 192:30.04  54m XFree86
  1809 tim       16   0 40380 9260  19m S  0.0  3.6   1:08.43  30m nautilus
-- after kill
  5652 tim       15   0 19036 8436  16m S  0.0  3.3   0:00.49  10m gxmms

--- Killing gxmms ---
tim at linmedia:~$ free -m
              total       used       free     shared    buffers     cached
Mem:           249        229         19          0          6         89
-/+ buffers/cache:        133        115
Swap:          949        263        686
tim at linmedia:~$ pkill gxmms
tim at linmedia:~$ free -m
              total       used       free     shared    buffers     cached
Mem:           249        202         46          0          7         89
-/+ buffers/cache:        105        144
Swap:          949        100        848

--- Thunderbird when sending message
   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  6811 tim       15   0  287m 167m  36m S  8.0 67.1   0:17.61 
mozilla-thunder

-- 
Tim White
PGP/GPG id: 602E944D, Pub Key Serv: subkeys.pgp.net
Fingerprint: 04C2 9682 B7B2 3006 009D  A9F3 067E EDCD 602E 944D
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me 
spread!
--


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20041023/82eea327/attachment.pgp>


More information about the plug mailing list