Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phpstorm superslow - 282.8% CPU usage

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

like image 862
Marcos Lamba Avatar asked Jul 20 '14 09:07

Marcos Lamba


2 Answers

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.

like image 170
Matt Avatar answered Nov 03 '22 04:11

Matt


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

like image 30
GeeH Avatar answered Nov 03 '22 05:11

GeeH