Search code examples
eclipsememoryjvm-arguments

Are Eclipse memory boundaries necessary and why do they exist?


The eclipse.ini file by default defines memory boundaries for Eclipse with the -Xmx and -Xms parameters.

Why is that so? Is it safe to remove it if I have 8GB memory?


Solution

  • I believe those are the limits of how much RAM your eclipse can take up (including all your plugins, and programs running from eclipse). I suggest to keep those limits as they are not harming you, or increase them if that is not enough. Those limits prevent your programs that you are testing from eclipse, from taking up your entire RAM. And it might not be safe to remove them.