What can be the reasons that Spring STS hangs?
Sometimes on the start STS hangs.
Does it possible found the reason? May be exists log or possible start in debug mode? Also how I can distinguish between hangs completely and working very slowly? Thanks. PS How to fix ?
That is usually for the same resons descibed here tricks-to-speed-up-eclipse. Garbage collection or validation.
If you have enough RAM I would suggest that you set -Xmx768m or higher (in eclipse.ini).
Under Windows->Preferences->Validation you can switch off a lot of stuff.
There's a log file I think it's in .metadata/.log in the workspace used. To see if memory causes the issue, and it usually does, try to run jconsole (part of the JDK) and connect to the running eclipse process, and see the memory stats.
My STS hanged when I tried to start it. Couldn't tell why.
Doing this fixed things for me: Shut down eclipse and then navigate to /.metadata/.plugins/org.eclipse.core.resources and remove the .snap file.
Courtesy: https://doctorjw.wordpress.com/2011/12/05/eclipse-locking-upnot-responding-try-this/
链接地址: http://www.djcxy.com/p/90606.html下一篇: Spring STS挂起的原因是什么?