eclipse.ini文件和选项

时间:2012-03-12 09:47:38

标签: eclipse ini

我已经下载了eclipse并查看了其中包含以下内容的eclipse.ini文件:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.reporting.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

为什么它包含选项:

--launcher.XXMaxPermSize
256M

两次在第一种情况下使用'M'而在第二种情况下使用'm'?

2 个答案:

答案 0 :(得分:1)

看起来是包装或插件中的错误。请在bugs.eclipse.org上打开错误报告。确保在提取初始包之后准确指定您已下载的软件包以及是否安装了任何插件(列出哪些插件)。

答案 1 :(得分:0)

我为eclipse.ini做了很多选择。

我使用带有8Go Ram和Windows 7的Intel Core i7的Java 7.Oclipse的性能和eclipse.ini的影响取决于机器的配置。 我们有大型项目,有大工作空间。

这是我的eclipse.ini:

-vm
C:/Java/jdk1.7.0_21/jre/bin/server/jvm.dll
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Dhelp.lucene.tokenizer=standard
-vmargs
-XX:ParallelGCThreads=4
-XX:+CMSClassUnloadingEnabled
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-XX:ReservedCodeCacheSize=64m
-XX:CompileThreshold=500
-XX:MaxHeapFreeRatio=70
-XX:ErrorFile=./hs_err_pid<pid>.log
-Xms512m
-Xmx1024m
-Dsun.java2d.opengl=true
-Dsun.java2d.d3d=true
-Dawt.nativeDoubleBuffering=true
-Duser.language=en_US
-Xverify:none
-XgcPrio:deterministic
-XpauseTarget:20
-XX:+UseTLAB
-XX:MaxTenuringThreshold=0
-XX:SurvivorRatio=128

祝你好运。 如果您有时间进行测试并发表任何评论,请帮助我们改进它。

此致 ECI

相关问题