Solve java.lang.OutOfMemoryError: Java heap space Eclipse - Java @ Desk

Tuesday, March 11, 2014

Solve java.lang.OutOfMemoryError: Java heap space Eclipse

Solve java.lang.OutOfMemoryError: Java heap space Eclipse

Running a main file which has high memory consumption may crash due to less memory availability.

To increase the memory allocation at runtime, the configuration can be done in the eclipse via the VM Arguments as shown below

Click on Run -> Run Configuration and make settings as shown below :







No comments:

Post a Comment