Speeding up Eclipse when editing JS/JSP files

时间:2015-07-31 20:37:02

标签: javascript eclipse jsp editing eclipse-mars

I’m using STS (a derivative of Eclipse Mars):

Spring Tool Suite
Version: 3.7.0.RELEASE
Build Id: 201506290652
Platform: Eclipse Mars (4.5.0)

When I open a JSP or JS file in my editor (by right clicking the name of the file from the package explorer), Eclipse/STS eventually hangs when I start editing the file, It will then spit out messages like so

Unhandled event loop exception
GC overhead limit exceeded

Before I start throwing memory at the problem, I wanted to see if there was any unnecessary plugins or other things I can turn off to speed up simple text editing of these types of files.

1 个答案:

答案 0 :(得分:0)

有两件事可能对你有所帮助(尽管我担心这是你的STS版本中的一些错误):

  • 您是否尝试关闭JSP验证?查看项目属性>验证> HTML语法,JSP语法。
  • 您可以通过切换复选框Window>来监控内存状态。偏好>一般>显示堆状态。从那时起,您将在主窗口的底部看到一个堆的图表,以及一个用于调用GC的按钮。