Tune JVMs

 

Use the following JVM parameters to tune the Java virtual machine.

  1. Specify any or all of the following generic JVM arguments.These optional command line arguments are passed to the JVM code that starts the appserver process.

    -Xquickstart Quickstart
    -Xverify:none Avoiding class verification
    -Xnoclassgc Class garbage collection
    -Xgcthreads Garbage collection threads
    -Xgcpolicy Garbage collection policy
    -XX Sun JDK 1.4.1 Generational Garbage Collection
    -server Sun Java Development Kit 1.4.1 HotSpot JVM warm-up
    -XX:MaxNewSize=128M Sun Java Development Kit 1.4.1 HotSpot JVM warm-up
    -XX:MaxPermSize=128M Sun Java Development Kit 1.4.1 HotSpot JVM warm-up
    -Xnocompactgc Heap compaction
    -Xinitsh Initial system heap size

  2. Set the initial heap size.

  3. Set the maximum heap size.

  4. Disable just in time (JIT) compiler.

 

See Also

Using the JVM
Java memory tuning