[jboss-user] [Performance Tuning] - Re: growableArray.cpp. Out of swap space?

PeterJ do-not-reply at jboss.com
Fri Mar 14 16:26:53 EDT 2008


Looks like the JVM is attempting to allocate another 128MB of memory (probably to expand the heap) and the OS is saying that it can't allocate the memory because it has run out - even the swap space is full.

How much RAM do you have? What is your swap space size? What is the non-JBossAS memory usage? What do you have the JVM heap sizes set to? I am guessing that -Xms and -Xmx are not the same.

You can usually detect a memory leak by gathering gc statistics using -verbose:gc and noting the amount of heap space in use after a major collection. After about a dozen or so major collections, assuming that the work load is consistent, the heap in use after major gc should be about the same. If it goes up, there is a possible memory leak.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136815#4136815

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136815



More information about the jboss-user mailing list