List Info

Thread: OOME - a ClassLoader issue?




OOME - a ClassLoader issue?
user name
2007-10-20 17:30:30
Hi,

I have these exact symptoms:
http://blogs.sun.com/fkieviet/entry/classl
oader_leaks_the_dreaded_java

Nearly every time I redeploy Tomcat 6, I get OOME, with
HTMLManager.

[dhtmlkitchen.com].[/manager] - HTMLManager: restart:
Reloading web
application at '/'
INFO TP-Processor52485
org.apache.catalina.core.StandardContext -
Reloading this Context has started
ERROR TP-Processor52485
org.apache.catalina.session.ManagerBase -
Exception unloading sessions to persistent storage
java.lang.OutOfMemoryError: PermGen space

I don't know how to go about diagnosing this. Could there be
a
ClassLoader leak in Blojsom?

Garrett
-- 
Programming is a collaborative art.

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: OOME - a ClassLoader issue?
country flaguser name
South Africa
2007-10-21 02:13:00
Garrett Smith wrote:

> I have these exact symptoms:
> http://blogs.sun.com/fkieviet/entry/classl
oader_leaks_the_dreaded_java
> 
> Nearly every time I redeploy Tomcat 6, I get OOME, with
HTMLManager.
> 
> [dhtmlkitchen.com].[/manager] - HTMLManager: restart:
Reloading web
> application at '/'

It looks to me more like you are redeploying your ROOT
webapp (via the 
manager app), and not the whole of Tomcat.  Every time you
redeploy, the 
webapp's classes get loaded again, but the "old"
copies are still stuck 
in permgen space and will be forever.  Keep redeploying, and
you /will/ 
run out of permgenspace sooner or later.  The fix is to stop
Tomcat and 
restart it.

> I don't know how to go about diagnosing this. Could
there be a
> ClassLoader leak in Blojsom?

Sure there could be, but this doesn't look like it.

-- 
mike morris :: mikro2nd (at) gmail (dot) com

http://mikro2nd.net/
http://mikro2nd.net/b
log/planb/
http://mikro2nd.net/bl
og/mike/

-- A day without chillies is a day wasted --


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )