开发者

How to tweak this eclipse.ini file to improve the performance of eclipse(Helios)?

Here's my eclipse.ini file

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requi开发者_如何学运维redJavaVersion=1.5
-Xms40m
-Xmx384m

What all should i add to improve the speed of eclipse to this.I have a 3GB Ram so i am looking forward to increase the memory allocated to eclipse. Would increasing --launcher.XXMaxPermSize do the job? I have read this What are the best JVM settings for Eclipse? .But the ini file seems to be a bit different from mine.I was a bit skeptical that i would corrupt my workspace and other settings so didn't play around with it.

Can someone advise me on what to add and change here so as to improve the performance of eclipse


One option could be to ensure that Eclipse is started with a more current JDK. Currently, you only demand that Java version should be at least 1.5. If your Eclipse is really running with JDK 1.5, going to Java7 will give you a way much better performance, and I suspect start-up performance as well.


Give it more memory. Make it something like -Xmx2g. This way if eclipse ever needs more memory it will be able to use it, if not then it will keep using the same amount of memory it always does.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜