[jboss-user] [Performance Tuning] - Re: when does java release commited memory back to the OS

noelo do-not-reply at jboss.com
Tue Apr 7 20:41:05 EDT 2009

Hi Peter,
Just a query on what you have said above i.e. 

anonymous wrote : By the way, your new size setting (-Xmn) practically guarantees full GCs every time, and full GCs are about way more expensive (10 - 100 times) than minor GCs. You should set the new size to at most 1/3 the size of the heap. 

Given the following settings

anonymous wrote : -Xms150m -Xmx600m -Xmn125m
Why would it perform a full GC ? Is it because the Xms is so small ?
If the Xms and Xmx were the same i.e. 600M would the Xmn settings be ok ?

I don't mean to hijack the thread just looking for some help understanding the implications of the Xmn setting.


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

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

More information about the jboss-user mailing list