Phpstorm superslow - 282.8% CPU usage

孤者浪人 提交于 2019-12-05 09:46:47

问题


After working for over 5 years with Netbeans I wanted to give a try with Phpstorm suggested by a friend.

I downloaded a fresh copy of Phpstorm and imported in the IDE a fresh project. The result is TERRIBLE!

  1. Phpstorm is terribly slow during startup.
  2. Doing an SVN commit take 5 minutes and keep CPU from 182.3% to 192%.
  3. Editing a simple line of HTML like Hello World take 5 to 7 seconds just to type the first opening character "<".

Working in this situation is a disaster moreover if I'm working on a MacPro workstation with 8GB RAM with 2 Core Duo CPU.

I really don't understand what is causing the issue. I attach a screenshot.

P.s. Netbeans on the same workstation is flying!

Thanks in advance to all help and suggestion


回答1:


I've been working on a large number of git branches recently, and a coworker advised me to invalidate my cache & restart PHPStorm. It seems to have worked, but be warned - you will lose your local history.

In any case, File -> Invalidate Caches / Restart solved my issue.




回答2:


There is no quick easy answer here to fix your problem, because it can depend on many things, like OS version, JVM version, other software installed (you get my drift). If you open the IDE, and go to Help -> New Support Request, and open a ticket, one of our support engineers will be able to talk you through generating a summary of the system that will enable them to help you solve this problem.

I'm sorry I can't be more specifically helpful here, but usually in this case it's a JVM or OS problem that can be fixed quickly by the team once they get your system specs.

Gary




回答3:


Go into your settings, and under IDE Settings, click on "Editor"

Go to the -Virtual Space- heading, and make sure "Use soft wraps in editor" is UNticked




回答4:


In my case the problem was new plugins. In setting disable newly install plugins.




回答5:


From the official forum:

Current tasks are displayed in a View > Status Bar (a bar in a bottom of IDE). It might show "indexing ..." or "scanning files to index".

close it works for me.



来源:https://stackoverflow.com/questions/24849090/phpstorm-superslow-282-8-cpu-usage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!