I've been using sts-2.8.1.RELEASE a couple of weeks.
Now it's getting extremely slow whenever I edit and save, and then window got stuck -- freeze the STS window.
Thus I cannot use STS in this circumstances.
Is there something wrong?
I've been using sts-2.8.1.RELEASE a couple of weeks.
Now it's getting extremely slow whenever I edit and save, and then window got stuck -- freeze the STS window.
Thus I cannot use STS in this circumstances.
Is there something wrong?
Hey!
Can you check the memory settings for your STS instance? And maybe how much memory it actually uses (by enabling the heap monitoring in the preferences, you can a nice little heap indicator at the bottom right of the workbench window). It sounds like there could be a memory problem. The other inspection that you could do is to capture a stack trace while STS is being so extremely slow (while an operation takes ages to complete), using jps and jstack. That could help identifying performance or network problems.
-Martin
Martin Lippert
SpringSource, a division of VMware
SpringSource Tools Team
http://www.springsource.com
http://twitter.com/martinlippert
Hey.
I couldn't find the a nice little heap indicator at the bottom right of the workbench window,
but I just modified the STS.ini file for sts-2.8.1.RELEASE as follows:
I don't know the meaning of each line, so I googled it and modified anyway.
Could you explain each line?
-Xmn128m
-Xms1024m
-Xmx2048m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=512m
-XX:+UseParallelGC
================================================== ==
-vm
/usr/lib/jvm/java-6-openjdk/bin/java
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1. 100.v20110505
-product
com.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xmn128m
-Xms1024m
-Xmx2048m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=512m
-XX:+UseParallelGC
================================================== ==
Martin Lippert
SpringSource, a division of VMware
SpringSource Tools Team
http://www.springsource.com
http://twitter.com/martinlippert
Thanks a lot