Last Updated: February 25, 2016
·
1.247K
· darrell

Increasing memory for Eclipse heap

If you want to increase the memory size for the JVM running Eclipse:

  • Go to the directory you installed Eclipse
  • This will be something like /Applications/eclipse/Eclipse.app/Contents/MacOS for Mac users
  • Open eclipse.ini with a UNIX format text editor (usually write.exe on Windows; not notepad.exe)
  • Find the line with -Xmx384m and increase it to the size you want the heap for Eclipse, e.g. -Xmx1024m
  • While you are in there, -Xms for the startup size of the heap