[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 11:54:10 EDT 2008


anonymous wrote : my understanding is that Jboss start with the minimum memory configured to 128MB and keeps getting more as needed, but when the allocated memory is not used anymore (becomes Free memory), Jboss should return this memory to the OS

No, that is not correct. The JVM, once it asks the OS for memory, will never release that memory back to the OS. If you do not want the JVM to consume 1.5GB of memory, do not set -Xmx that high.

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

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



More information about the jboss-user mailing list