Message8308

Author onlygecko
Recipients onlygecko
Date 2014-04-25.08:21:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398414087.28.0.673509335288.issue2132@psf.upfronthosting.co.za>
In-reply-to
Content
Terminating a modjy-Webapp within Tomcat causes a mermory leak on the server.

The problem can be easily reproduced with the modjy-webapp demo from the jython repository: Deploy the app, stop the app.

It's the same behaviour described in the mailinglist-post [1].

Profiling Tomcat after stopping the app, according to guide [2] shows, that the main reason for the leak could be an instance of "RefReaperThred". This issue could also correspond to issue 2127 [3].

I verfied this problem within several Tomcat versions under Linux and Windows with Jython 2.5.3 and Jython 2.7.b1.


[1] Jython User-Mailinglist post "How can I shut down Jython cleanly?": http://sourceforge.net/p/jython/mailman/message/29044817/

[2] Anatomy of a PermGen Memory Leak: http://cdivilly.wordpress.com/2012/04/23/permgen-memory-leak/

[3] Jython Issue 2127: http://bugs.jython.org/issue2127
History
Date User Action Args
2014-04-25 08:21:27onlygeckosetrecipients: + onlygecko
2014-04-25 08:21:27onlygeckosetmessageid: <1398414087.28.0.673509335288.issue2132@psf.upfronthosting.co.za>
2014-04-25 08:21:27onlygeckolinkissue2132 messages
2014-04-25 08:21:26onlygeckocreate