问题
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!
- Phpstorm is terribly slow during startup.
- Doing an SVN commit take 5 minutes and keep CPU from 182.3% to 192%.
- 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