【发布时间】:2015-03-03 12:49:01
【问题描述】:
我在 Win 8 上使用 STS-3.6.1.RELEASE,它的性能让我很受不了。打开文件、保存更改、内容辅助功能或组织导入非常慢,有时会崩溃。
我在 Google 上搜索过性能缓慢和禁食的解决方案。然后应用它们,但结果是一样的。这里有一些建议;
- Why is SpringSource Tool Suite (STS) so slow? And how can I fix it?
- http://philip.yurchuk.com/software/optimal-jvm-settings-for-sts/
Eclipse 或 Android Studio 运行良好,只是 STS 运行不正常。我不知道该怎么办。我什么都试过了;一些 .ini 文件设置、其他 STS 版本 (3.6.3)、关闭项目验证器等,但结果相同。我认为问题出在我的电脑上,因为相同的 STS 版本非常适用于我同事的电脑(Win 7-8,Mac)上的相同项目。
我的电脑属性和 STS
Win 8.1, i5 1.7ghz(4cpu), 64bit, 8gb 内存
spring-tool-suite-3.6.1.RELEASE-e4.4-win32-x86_64
和 sts.ini 文件
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
712M
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx1536m
-XX:MaxPermSize=1024m
-Dorg.eclipse.swt.browser.IEVersion=10001
-XX:CompileThreshold=1000
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+CMSIncrementalPacing
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-Djava.net.preferIPv4Stack=true
-Dsun.lang.ClassLoader.allowArraySyntax=true
有什么建议或其他人有类似经历吗?
【问题讨论】:
标签: java performance ide sts-springsourcetoolsuite spring-tool-suite