cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emanuele Maiarelli <emanu...@mengozzi.com>
Subject Re: cayenne tomcat memory management
Date Thu, 22 Oct 2009 13:03:48 GMT
Thanks for the advice
Andrus Adamchik ha scritto:
>
> On Oct 22, 2009, at 3:09 PM, Emanuele Maiarelli wrote:
>
>> leaks are produced by frequent context reload, issued by netbeans 
>> redeploying webapplication in tomcat,
>> but im looking more closely
>
> Ok you didn't mention that in the original message. Most likely this 
> has nothing to do with Cayenne or your webapp (or Tomcat for that 
> matter). Hot redeployment always leads to an eventual JVM death as it 
> runs out of PermGen memory space that stores class definitions. While 
> some blame developers for creating such a leak [1], I personally gave 
> up on trying to make hot redeploy work, and would just restart the 
> container every time.
>
> Andrus
>
> [1] 
> http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
>


Mime
View raw message