Quick Tip: Java Heap Space Fix for any Jar File in 1 Line

 java -Xmx512m -jar yourjar.jar 

where 512m is for 512MB and which can be increased as needed.

Stackoverflow Solutions

Just started! Have not answered any questions.