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

谁说胖子不能爱 提交于 2019-12-22 18:29:53

问题


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.requiredJavaVersion=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


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/5894312/how-to-tweak-this-eclipse-ini-file-to-improve-the-performance-of-eclipsehelios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!