[英]Eclipse and/or node.exe using 100% CPU
OK, this is driving me insane! 好的,这让我疯了! It used to be infrequent and now its practically ever character I type that causes Eclipse goes into 'Not Responding' and CPU rockets towards 100% and stays there for a minute. 它曾经很少见,而且现在它几乎是我输入的字符,导致Eclipse进入'无响应'并且CPU火箭朝向100%并且在那里停留一分钟。 Sometimes this is accompanied by node.exe taking half the CPU and a LOT of memory. 有时这会伴随node.exe占用一半CPU和大量内存。 I kill node.exe and sometimes it stays off but mostly it comes back. 我杀了node.exe,有时候它会保持关闭,但大多数时候它都会回来。
I've looked up node.exe and can't figure out what it has to do with my application. 我查了node.exe,无法弄清楚它与我的应用程序有什么关系。 I'm writing a webapp using Tomcat, Struts, Java, JSP, JQuery. 我正在使用Tomcat,Struts,Java,JSP,JQuery编写webapp。 I disabled every plugin from Preferences->startup/shutdown with no effect. 我禁用了Preferences-> startup / shutdown中的每个插件都没有效果。
Help! 救命! I can't develop when every keypress takes a minute! 每个按键需要一分钟时我无法发展!
Take a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=442049 or https://github.com/Nodeclipse/nodeclipse-1/issues/159 看看https://bugs.eclipse.org/bugs/show_bug.cgi?id=442049或https://github.com/Nodeclipse/nodeclipse-1/issues/159
I overcomed by removing <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
我通过删除<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
克服
But you may have other JSDT related issue. 但是您可能还有其他与JSDT相关的问题。
And you must know exactly what process is consuming CPU at what rate. 而且你必须确切知道什么过程消耗CPU的速度。
I would really suggest not using Eclipse for node. 我真的建议不要将Eclipse用于节点。 Try NotePad++ on Windows or Sublime or Atom or something... 在Windows或Sublime或Atom上尝试NotePad ++或其他东西......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.