Best Memory Settings for Eclipse
Best Memory Settings for Eclipse:
Whether Eclipse has become homeground for you & it’s speed is frustating you? I will describe couple of settings which might be helpful in running multiple projects without a memory issue.
Default Eclipse settings are defined in eclipse.ini. My .ini file on Fedora Core 6 — Eclipse 3.3 Europa:
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
128M
-vmargs
-Xms40m
-Xmx512m
-Dosgi.bundlefile.limit=100
where
-Xms <size> set initial Java heap size
-Xmx<size> set maximum Java heap size
Considering that you have enough memory on machine, change default values in eclipse.ini to:
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vm
[PATH_ON_YOUR_MACHINE]javaw.exe
-vmargs
-Xms256m
-Xmx512m
Note: “-vm” is optional; otherwise Eclipse will use the first Java VM found on the O/S path
This will definitely boost up your eclipse performance.