Search code examples
javaeclipsejvmmemory-managementapplication-settings

Max value of Xmx and Xms in Eclipse?


My settings for these values in eclipse.ini are:

-Xms768M
-Xmx1024M

When setting them higher, Eclipse doesn't start anymore. Is there a way to increase these values without Eclipse crashing?


Solution

  • The maximum values do not depend on Eclipse, it depends on your OS (and obviously on the physical memory available).

    You may want to take a look at this question: Max amount of memory per java process in Windows?