[jboss-user] [Performance Tuning] - Re: Not specifying an -Xms value

Peter Johnson do-not-reply at jboss.com
Wed Jun 20 16:32:21 EDT 2012


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

"Re: Not specifying an -Xms value"

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

--------------------------------------------------------------
So you are running six copies for the app server at the same time?

I'm a little rusty on this (its been years since I looked at JVM memory management in detail), but if I recall correctly, when a JVM starts up it asks the OS if it can reserve the amount of memory specified by -Xmx. If if can't it won't run. If it can, it then requests only -Xms memory for the heap. This can lead to a possible OOME later down the line if you don't have sufficient memory (RAM + swap) to hold -Xmx for all 6 app servers.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/743196#743196]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

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


More information about the jboss-user mailing list