Why PhpStorm version 2016 CPU use 100% and slow edit code

hello

 

i have probelam php storm cpu use 100% can slow edit code

i use 64 bit

how to fix it

-Xms128m
-Xmx850m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-agentlib:yjpagent64=probe_disable=*,disablealloc,disabletracing,onlylocal,disableexceptiontelemetry,delay=10000,sessionname=WebIde110

 

thankyou

4 comments

Hello,

Could you run File > Invalidate Caches/Restart > Invalidate and Restart, please, and then check if the issue reoccurs?

1

I had the same problem and @Vladimir's solution worked for me.  Thank you!

0

my PHPStorm 2016.1 on MacBook Air has become pretty unusable suddenly. Totally maxing out my CPU. Tried File > Invalidate Caches/Restart, made no difference. 

PhpStorm 2016.1
Build #PS-145.258, built on March 16, 2016
JRE: 1.8.0_40-release-b132 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Update: Only occurs on project with high number of php files (Drupal). Smaller projects I can open normally. Weird as I have been working on this project for many weeks without problem, suddenly PHPStorm can't cope with it any more.

Update: Fixed it by stopping PHPStorm, removing .idea directory in project folder, restarting, opening project.

0

Clearing the cache didn't fix the problem. Stopping PHPStorm, removing .idea directory, restarting and adding project solved the problem for me.

0

Please sign in to leave a comment.