What can be the reasons that Spring STS hangs?

user710818 picture user710818 · Nov 6, 2011 · Viewed 16.9k times · Source

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. P.S. How to fix ?

Answer

stacker picture stacker · Nov 6, 2011

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.