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

Re: memory issue with perl scripts not solved in 1.7.8




On 2001.06.22 13:10:38 +0100 L3ECH wrote:
> 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)
<snip>

This mem leak seems to be on Perl's part, /UNLOADALL simply has Perl
destroy, free and re-create the PerlInterpreter structure, but Perl's
destroy/free code doesn't free it all.
Other than that I don't know.

On a side note, there seems to be a leak with the pop-up menu in the text
area, xchat grows by about 70-80KB every time the pop-up menu is created.

-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/
Posted By:     Lloyd Williams <binary_frog@chatcircuit.com>