Extreme lag and high CPU usage on OSX High Sierra Follow
Today I upgraded from OSX Sierra to High Sierra. Everything ran smoothly, until I opened PhpStorm. Suddenly, the system started lagging badly. Switching tasks between PhpStorm and other apps (Chrome) took 2-3 seconds. Switching between editors inside PhpStorm took 1-2 seconds.
I noticed, that the CPU usage of PhpStorm went up to 50%-80%, when moving the cursor in PhpStorm or when switching between editor windows. Indexing a project completely freezed the system with a CPU usage of 600%.
Then I uninstalled JAVA and JAVA SDK and rebooted. Suddenly everything ran fine, even in PhpStorm.
But now I have PhpStorm (EAP 2017.3 Build #PS-173.3531.17) open for almost an hour, and the lag when switching tasks/editors starts to appear again. It's almost impossible to work.
I also tried PhpStorm 2017.2, but same problem there.
Any ideas how to fix this?
Please sign in to leave a comment.
Performance issues are very hard to troubleshoot as each of them depends on particular environment and project. Therefore it is advised to contact support directly if you experience slow performance issues.
I can see that you already contacted support regarding that matter - team will assist you with troubleshooting and resolving this.
Actually I have the exact same issue.. so it dont think it is an individual challenge. Can you please share the solution to this?
No solution yet.
I'm really glad to see this posted here because I'm experiencing the same issue in IntelliJ. It's maddening to have my system act so slowly. Just like OP, my performance suffers when I hit CMD+TAB to switch between apps. While in IntelliJ, performance seems decent. Much awaiting a fix on this.
My issue seems to be related to this bug: https://youtrack.jetbrains.com/issue/JRE-526
Same issue here using IntelliJ on High Sierra.
IntelliJ IDEA 2017.2.5
Build #IC-172.4343.14, built on September 25, 2017
JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.1
It's recommended to investigate this individually using Help > New Support Request
Also having the same issue on High Sierra. I've got the latest Macbook Pro with 2.9 Ghz i7 and 16GB Ram.
Experiencing same issues here. The performance issue affects all apps - like slow scrolling in Chrome, even typing in this window has a 1-2 second delay as I type. Confirmed when I shut down Intellij, the problem goes away.
MacBook Pro (Retina, Mid 2014) 2.8Ghz i7, 16GB Ram, NVIDIA GeForce 750M 2GB
Thanks for any help with this.
MBP 2015 - same problem
the solution was to rollback to Sierra OSX
Same issue here. Makes the computer almost unusable. Late 2013 MacBook Pro 2.3 GHz i7, 16 GB RAM. It took about 3 minutes to type this comment...
Is there any update by any chance? Rollback to Sierra is not an option.
Any solution yet? I just installed High Sierra and the performance of the whole machine is now horrible while webStorm is running.
Here's my computer. I'm using the latest version of webStorm.
Model Name: MacBook Pro
Model Identifier: MacBookPro11,3
Processor Name: Intel Core i7
Processor Speed: 2.6 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 16 GB
Boot ROM Version: MBP112.0142.B00
SMC Version (system): 2.19f12
Serial Number (system): C02LL7QNFD59
Hardware UUID: 0F8D6983-C9D2-554C-AA22-4A74CA2CA794
the point was that it is not the fault of the program but OSx
Ok, so i narrowed it down to the debugger slowing everything down when my 4k monitor (1/3 screens) runs in a hidpi mode. If I change it to a normal mode, things seem to work fine. Not great, but it's at least a workaround.
Ok guys apparently OS X High Sierra is a piece of crap. Can't wait for them to make it lighter and optimized.
But there is a solution, update JDK to latest version, in my case reinstall java downloaded from the oracle site and now it's okay, not perfect, but with 1-2 glitches on the scroll when going to the IDE desktop and then it's 60fps again.
Hope it helps for now!
I just updated Java to the latest version, but still experiencing this. In a way it's a relief to find this post, but I think I will need to use a different editor until JetBrains solves this. Clearly it's not an individual problem.
I'm on a 15" MBP Late 2013, 16gb ram, 1tb ssd.
Same problem here using PHPStorm on a 5K iMac. I updated my MBP last week and it works fine there, so took the plunge with the iMac... wish I hadn't now..!
The issue seems very similar to the one which prompted the bundled JDK a couple of years ago. Shrinking the PHPStorm window from maximised to 1/4 screen completely eliminates the problem, as it did back then.
To the good folk at JetBrains - is there some way of warning others not to update OSX, until there's a fix for this?
Please check this suggestion (and ticket overall): https://youtrack.jetbrains.com/issue/WI-38586#comment=27-2534998
Also, already mentioned https://youtrack.jetbrains.com/issue/JRE-526
One other thing to try. I've noticed there's no issue at all when using my MacBook Pro directly, whereas when I plug my monitor in, there's lag there. I've also tried the excellent suggestion recommended by @Andry Bazanov. Hopefully that fixes the issue with the monitors.
I have a dell 34" curved monitor (60hz) that i use with my macbook pro 2017 (sierra 10.12.6) and I am facing the same issue with intellij 2017.2 and 2017.3 EAP ultimate editions. There is significant delay in response to any key press. I can see that CPU usage is more than 100% when i press a key (with external monitor connected) .
Also, Simple scrolling of a file in intellij is causing the CPU to raise to close to 200% on my mac with or without external monitor. With external monitor i can see that there is significant lag in scrolling a page .
The heap size of my project is 4g and intellij barely crosses 2g at any time. This is significantly impacting my productivity . I hope this can fixed soon
Okay guys figured out what the problem is.
The problem has nothing to do with Jetbrains, or java.
There is a graphics driver issue with MBP machines that do not support Metal 1 or Metal 2 graphics engine which causes everything to be slow on High Sierra.
My MBP is retina 15' late 2013 and does not support Metal 2 which caused my extreme lag, reverted back to Sierra and everything is alright.
The fault is Apple's, they didn't take a good care about which of their machines will support the latest os, by support I mean everything to work normally with a minimal margin of error.
So if High Sierra does not work for you, switch back!
@Wallflips Please don't spread incorrect information and double check the facts. The post above you states having a 2017 MBP with the same problem. Also, Mid 2012 or newer MBP machines support Metal 2. The most common factor seems to be having hi-res 4K+ screens.
all the latest findings & tips are collected at https://youtrack.jetbrains.com/issue/JRE-526.
Get the same issue with webstorm. CPU occupy 200%!
Ребят, вы конечно сделали шикарный редактор, но из-за такой ерунды по сути вы теряете пользователей. Ни я последний наверное буду искать альтернативу ( Очень жаль, но проц что пхпсторм, что идея жрут нещадно - овер 300%
@O O Sevruk
Да откатись на сиерру. На х сиерре медом намазано? Решат трабл, обновимся.
Думаю в ближайшем будущем не решат. Так как трабла уже с 14-ого года висит. Смотрю в сторону komodo 11
is there any news on a bugfix in progress? It is highly disturbing that for a product like this and the costs associated, the support is non-responsive. I am currently evaluating cancelling my licence and switching IDEs. Please share an update. The problem seems not only linked to external displays or 4k issues. I run solely on a MacBook Pro 15" and i got the same challenge
I also have lags in PhpStorm on MacOS High Sierra. All other functions in OS runs perfectly fast. I have iMac retina i5 16gb ram, ssd. Its terrible situations which doesnt allow normal work. I think about change IDE at this moment and cancel license. No respond from Support with appropriate fix, update.