I get the same thing on my box.  It does seem like something's  
leaking.  I'm offline now but will check out the article soon.   
Thanks Shane.

Tony


On 5-Jul-07, at 10:19 AM, Shane Cruz wrote:

>
> That could be related to a common classloader memory leak.  See this
> article for more information:
>
> http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jan Kriesten
> Sent: Thursday, July 05, 2007 6:16 AM
> To: General Discussion for the Resin application server
> Subject: [Resin-interest] class reloading / out-of-memory
>
>
> hi,
>
> i have the following out-of-memory error when changing a class file  
> of a
> web-app
> and the web-app is re-inited:
>
> ---8<---
> java.lang.OutOfMemoryError: PermGen space
>      at java.lang.ClassLoader.defineClass1(Native Method)
>      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>      at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 
> 124)
>      at
> com.caucho.loader.DynamicClassLoader.loadClass 
> (DynamicClassLoader.java:1
> 329)
>      at
> com.caucho.loader.DynamicClassLoader.findClass 
> (DynamicClassLoader.java:1
> 199)
>      at
> com.caucho.loader.DynamicClassLoader.loadClass 
> (DynamicClassLoader.java:1
> 119)
>      at
> com.caucho.loader.DynamicClassLoader.loadClass 
> (DynamicClassLoader.java:1
> 068)
>      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> ---8<---
>
> this regularly happens after the app is reloaded for the 5th or 6th
> time.
>
> the admin service works without a flaw and indicates that there should
> be enough
> free memory:
>
> Total memory: 122.42Meg
> Free memory:  56.45Meg
>
> any hints where to look?
>
> i'm using resin 3.1.1 and jdk 1.6
>
> best regards, --- jan.
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to