[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss exiting with java.lang.OutOfMemoryError
PeterJ
do-not-reply at jboss.com
Tue Jul 14 11:13:58 EDT 2009
Have you monitored the memory usage? And the free memory available on the system? Also, is this running in a VM or a physical machine?
The growableArray.cpp is often used to increase the ehap or permgen size. You might try setting -Xmx and -Xms to the same value, ditto for -XX:PermSize and -XX:MaxPermSize. Doing this will set the memory spaces at their maximum and prevent increasing or shrinking of the size, which should help avoid the problem.
I find is rather unusual that you are getting an out-of-memory error when you are using only about 2GB of the 6GB of memory that you have available.
Finally, you should report this to Sun - the JVM should not crash like this.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243561#4243561
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243561
More information about the jboss-user
mailing list