Phpstorm superslow - 282.8% CPU usage

Marcos Lamba picture Marcos Lamba · Jul 20, 2014 · Viewed 16.3k times · Source

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. enter image description here

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

Thanks in advance to all help and suggestion

Answer

Matt picture Matt · Apr 24, 2017

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.