Increase heap size

Increase heap size in java

Set or Increase the maximum heap size:

java -Xmx256m TestData.java

Where:
TestData.java: represents java application file.

Java command memory options

$ java 
Read More