I am working on a Windows 2003 server (64-bit) with 8 GB RAM. How can I increase the heap memory maximum? I am using the -Xmx1500m
flag to increase the heap siz
This only works with 64 bit version of Java. Go to Control Panel and click on the Java icon. On the small window of Java Control Panel, click on the Java menu bar and then click on view
button.
If you have two Java platforms, disable the previous version of Java, then click on Runtime parameters text field and write -Xmx1024m
or less than RAM size. Don't increase heap size equal to RAM otherwise your system will crash.