[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
memory issue with perl scripts not solved in 1.7.8
As I mentioned before, there is an issue with memory not being freed
when unloading all scripts (/unloadall). Since no one answered to my
previous posting about this, I decided to just wait for 1.7.8... Now
it's here, but the issue is still unsolved.
Here are results of a simple test, starting xchat, seeing how much
memory it takes, then loading and unloading a Perl script 20 times, then
seeing again how much memory it takes, then exiting xchat and memory
info again. Test was performed on an x86 box running Linux RedHat 7.1
with kernel 2.4.5. The script used for testing was Atheism-v2.0 (which
is available at http://atheism-v2.sf.net)
Here are the test's results:
Fresh xchat started:
~~~~~~~~~~~~~~~~~~~~
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
l3ech 3889 0.8 7.2 12888 9168 ? S 14:33 0:04 xchat
total used free shared buffers cached
Mem: 127000 123900 3100 0 4072 102028
-/+ buffers/cache: 17800 109200
Swap: 133016 66560 66456
Status after 20 loads and unloads of a script:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
l3ech 3889 5.6 39.2 53560 49844 ? S 14:33 0:49 xchat
total used free shared buffers cached
Mem: 127000 124012 2988 0 3664 61220
-/+ buffers/cache: 59128 67872
Swap: 133016 39772 93244
Memory status after closing xchat:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
total used free shared buffers cached
Mem: 127000 79272 47728 0 3664 61036
-/+ buffers/cache: 14572 112428
Swap: 133016 39772 93244
I'd really appreciate ANY comments on this.
L3ECH.
-
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/
Posted By: L3ECH <l3ech@l3ech.com>