STS still so slow after doing all these steps

二次信任 提交于 2019-12-11 03:23:35

问题


I am using Spring 3.7.3.RELEASE on MacBook Pro Retina with 128GB SSD. While doing any kind of operations like saving the changes, refreshing the project, building the project, while debugging, while synching with VCS etc, it becomes so slow. I have already did the following things,

  1. Unchecked all plugins in Windows -> Preferences -> General -> Startup and Shutdown except spring maven integration tool

  2. Disabled automatic builds under Install/updated and Label Decorator

  3. Upgraded to the latest JVM

  4. Disabled all validations

My laptop configuration:

Model Name: MacBook Pro
Model Identifier:   MacBookPro12,1
Processor Name: Intel Core i5
Processor Speed:    2.7 GHz
Number of Processors:   1
Total Number of Cores:  2
Memory: 8 GB
Storage: 128GB SSD  

STS configuration:

-clean
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-XX:MaxPermSize=6000m
-Xverify:none
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xdock:icon=../Resources/sts.icns
-Xmx6000m

Please suggest me what to do to speed up STS.


回答1:


I had faced this issue in past, but after installing Optimizer for Eclipse it become much faster. Otherwise you can use the latest version of Eclipse i.e 4.6 for STS it is slightly faster than the previous one and the thread blocking issue is solved here.




回答2:


Optimizer is definitely helpful but I also disabled almost all validation except for few essential ones

Click Window > Preferences and select Validation in the left pane. The Validation page of the Preferences window lists the validators available in your project and their settings.

To disable individual validators, clear the check boxes next to each validator that you want to disable. Each validator has a check box to specify whether it is enabled for manual validation or on a build.

This answer was really helpful: https://stackoverflow.com/a/15900200/1895627



来源:https://stackoverflow.com/questions/37960744/sts-still-so-slow-after-doing-all-these-steps

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