Eclipse Juno + WTP +EGit dead slow

2019-03-18 03:03发布

I'm trying to use Eclipse Juno (Version: 4.2.0 Build id: I20120608-1400) with WTP for JavaScript/Node.js development on MacOSX Lion, on my 4GB RAM MacBook Pro. Sometimes it gets dead slow, and unusable. I've tried tweaking both through preferences (disabled all validators) and initialization variables, and also upgraded to 1.7 VM as recommended. Here's the contents of my eclipse.ini file:

-startup
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
-vmargs
-Xms64m
-Xmx256m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:+UseParallelGC
-XX:+UseCompressedOops
-XX:MaxPermSize=256m
-server

Can someone advise what I could do to improve WTP performance?

9条回答
贼婆χ
2楼-- · 2019-03-18 03:28

Please see the comments on https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272.

We're aware that there is an issue here but are as yet unsure as to what the cause is. We're in the act of profiling various scenarios to try to get a handle on why some people see such a significant degradation while most seem to work at least acceptably.

Please post information on the defect above about what features you're using there, maybe it'll help up track down the culprit...no smiley, this is serious.

查看更多
看我几分像从前
3楼-- · 2019-03-18 03:28

Try using a different perspective (the Resource one, for example) and restart Eclipse.

Does it help?

查看更多
冷血范
4楼-- · 2019-03-18 03:30

There's an official performance patch for Juno SR1. Otherwise you could switch to Juno SR2 or Kepler.

查看更多
登录 后发表回答