Administrator
- Administrator
- All Products
Format
| Description
|
---|---|
-Xms**m
| The initial amount of memory allocated to the JVM when the Java process starts.
Since this is the initial value, the Xms value can be small, for example, 64m or 128m. The Java process will allocate more space as required.
|
-Xmx****m
| The maximum amount of memory that the JVM can allocate as heap. After the Java process starts, it will continue to allocate space to store its objects. The allocation can continue until the maximum setting is reached.
Set the value to be large enough to hold all the Java objects and classes. On a 64-bit agent, the value can be about 1024M or 2048M.
|
-XX:MaxPermSize=***m
| The maximum amount of permanent space that the JVM can use at a time. If the JVM needs more than the specified amount, the Java process fails.
You can set this value to an average of 512M. However, the value must be less than the -Xmx value. Increase the MaxPermSize value if you receive an error about permGen space.
|