I have MaxPermSize set to 256M on my system and I still get this issue
every 5-10 minutes. My guess is resources aren't being let go.  I've
heard bad things about Spring and Hibernate in the past, so I don't
know if they're causing this or what.  The best thing is probably to
slap a profiler on it and see where the hotspots and memory leaks are.

Matt

On 3/7/07, wnqq <[EMAIL PROTECTED]> wrote:

Environment: v2.0-m4-SNAPSHOT

It is too often to get "java.lang.OutOfMemoryError: PermGen space" while
executing "mvn jetty:run".

How to resolve it?

I know that traditionally we could specify the JVM parameters like "-Xmx512M
-XX:PermSize=64M -XX:MaxPermSize=128M" to increase the memory size. How does
this apply to appfuse/mvn?
--
View this message in context: 
http://www.nabble.com/mvn-jetty%3Arun-%3D%3E-OutOfMemoryError%3A-PermGen-space-tf3367253s2369.html#a9368515
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to