File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Jboss - JVM-Production Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss - JVM-Production" Watch "Jboss - JVM-Production" New topic

Jboss - JVM-Production

naguri narayanareddy

Joined: Sep 07, 2013
Posts: 5

Hi ,

How to select suitable jvm for jboss(any version) in production mode ?

What are the parameters we have to consider in selecting jvm ?

anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

I would first check the supported version for the particular JBoss version and based on that would try to use the latest in the available range.

Few parameters that need to be considered are -Xms, -Xmx, -XX:MaxPermSize.

Follow us on facebook:
naguri narayanareddy

Joined: Sep 07, 2013
Posts: 5

How could we select for -xms and -xmx(is there any formula), if we want to change these values in runtime how could it possible ..?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

The only way to determine the correct heap size settings is to run a load test on your app, analyze the garbage collection activity, and then use that to select the size. For the load testing you usually want to use a very large heap setting, then based on the gc stats you can reduce the size and try again.

And there is no way to change the -Xmx and -Xms sizes once the JVM starts running.

JBoss In Action
I agree. Here's the link:
subject: Jboss - JVM-Production
It's not a secret anymore!