[jboss-user] [Performance Tuning] - Re: Interesting JBoss 5 Memory Footprint/Leak

Peter Johnson do-not-reply at jboss.com
Thu Sep 6 15:13:11 EDT 2012

Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: Interesting JBoss 5 Memory Footprint/Leak"

To view the discussion, visit: https://community.jboss.org/message/758406#758406

The -XX:AggressiveHeap option is used by Oracle mainly to run various benchmarks. This option sets numerous other options to specific values, and those values are tuned to get the benchmarks to run optimally. In real life, this option rearely provides any benefit, I always recommend that people avoid it.

Also, be careful when looking at java process memory usage via the OS - there is a lot more to java process memory usage than just the heap! It sounds as if the app server is creating way to many threads and they are eating up the memory - try monitoring the thread count. (Note that the memory used for the heap will NEVER exceed the -Xmx value!)

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120906/ef9da532/attachment.html 

More information about the jboss-user mailing list