Java OutOfMemoryError in eclipse

Getting this and you want to use Eclipse?

java.lang.OutOfMemoryError: Java heap space

Find the Preferences menu item. For me, in OS X, this is under the “Eclipse” menu item. Click on the “Java” item in the box which comes up. Click on the “Installed JREs” sub-menu item. Select your JRE and click “Edit”. For “Default VM Arguments” put something like:

-Xms128M -Xmx700M

That should do the trick. Leigh, please don’t comment “I don’t get it.”

Join the Conversation

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *