[jboss-user] [Performance Tuning] New message: "Re: Jboss is crashing and throwing Out of swap space error."

Peter Johnson do-not-reply at jboss.com
Fri Jan 8 11:55:36 EST 2010


User development,

A new message was posted in the thread "Jboss is crashing and  throwing Out of swap space error.":

http://community.jboss.org/message/519010#519010

Author  : Peter Johnson
Profile : http://community.jboss.org/people/peterj

Message:
--------------------------------------------------------------
The OOME exception you are seeing could be caused by one of two things :
 
a) The JVM is attempting ot expand the heap and Windows says it has no more memory available
b) The JVM is attempting to spawn a new thread and Windows says it can't due to memory limitations
 
Are you by any chance booting the Windows system with the /3G option? This can often lead to situation 'b' above.
 
How large is your page file? What is your memory usage like, particularly committed memory?
 
Are you ruinng a 32-bit or 64-bit OS?
 
Try running with -Xms and -Xmx set to the same value (that is recommended for production anyway).

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/519010#519010




More information about the jboss-user mailing list