How to Increasing Java Heap Size on Windows Platform

Windows Control Panel
Java Control Panel
Java Runtime Settings

The option -Xmx512m sets the maximum heap size to 512 MB. Try a smaller heap size if you get an error.

_