Carl Antaki’s blog

May 17, 2007

Useful Java VM switches

Filed under: Java2D, swing, Java — carl @ 6:48 pm

These switches apply to Java 5 and up.

Switch Description
-Dsun.java2d.d3d=false Disables direct3d in case you have a problem in full screen mode, this solves also the bug 4417798
-Xms: ex. -Xms64m Default Java heap size
-Xmx: ex. -Xmx1024m Maximum Java heap size
-XX:+PrintGCdetails Prints the basic GC information
-XX:+PrintGCdetails Prints the detail GC information
-client Uses the client JVM
-server Uses the server JVM

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress