[jboss-user] [Performance Tuning] - Re: JBoss 4.05 don't release free memory - Out of Memory err

PeterJ do-not-reply at jboss.com
Wed Apr 16 12:12:13 EDT 2008


I was wrong. I just talked to my JVM expert and the JVM will give memory back to the OS under certain circumstances. It will give back memory only during a garbage collection. Taking a snapshot of memory usage is not sufficient to make any conclusion about memory. If the JVM is not doing anything it will not just suddenly wake up and say "oh, I have too much memory, I think I will give some back." You need to gather garbage collection data while running the JVM and that data will indicate when, or if, the JVM is giving memory back to the OS.

Note that JBossAS has no say whatsoever in this matter.

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

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



More information about the jboss-user mailing list