What are the best JVM settings you have found for running Eclipse?
相关问题
- Eclipse and Mylyn : how to disable grey files in t
- Installing Pydev for Eclipse throws error
- Error in Scala Compiler: java.lang.AssertionError:
- How to remove unused imports using Eclipse and not
- Assume/switch role in aws toolkit for eclipse 2.0
相关文章
- java项目突然挂掉,日志无报错信息
- Java引用分为强引用、软引用、弱引用、虚引用,我怎么能判断出一个对象是哪个引用?
- selenium+eclipse 打开网页时报错
- Eclipse failing to open
- Eclipse how can I indent C++ preprocessor macros
- Why is FindBugs ignoring my check for null?
- java.lang.VerifyError: Stack map does not match th
- Eclipse cleanup - what are the “.index” files - ca
If you are using Linux + Sun JDK/JRE 32bits, change the "-vm" to:
If you are using Linux + Sun JDK/JRE 64bits, change the "-vm" to:
That's working fine for me on Ubuntu 8.10 and 9.04
-vm
C:\Program Files\Java\jdk1.6.0_07\jre\bin\client\jvm.dll
To specify which java version you are using, and use the dll instead of launching a javaw process
You can also try running with JRockit. It's a JVM optimized for servers, but many long running client applications, like IDE's, run very well on JRockit. Eclipse is no exception. JRockit doesn't have a perm-space so you don't need to configure it.
It's possible set a pause time target(ms) to avoid long gc pauses stalling the UI.
I usually don't bother setting -Xmx and -Xms and let JRockit grow the heap as it sees necessary. If you launch your Eclipse application with JRockit you can also monitor, profile and find memory leaks in your application using the JRockit Mission Control tools suite. You download the plugins from this update site. Note, only works for Eclipse 3.3 and Eclipse 3.4
My own settings (Java 1.7, modify for 1.6):
-showlocation
To make it easier to have eclipse running twice, and know which workspace you're dealing with
Eclipse 3.6 adds a preferences option to specify what to show for the
Workspace name (shown in window title)
which works much better than-showlocation
for three reasons:And these setting have worked like a charm for me. I am running OS X10.6 , Eclipse 3.7 Indigo , JDK1.6.0_24