PhpStorm freezes on MacOS 14.6.1
Hi, I am running the latest version of PhpStorm and I am having a lot of freezes on MacOS 14.6.1 and I am not sure why. This is an M1 Max with 64G of RAM and I have assigned a monstrosity to PhpStorm : 16G. I have shared logs, the ID for the uploaded file is: 2024_08_20_24E9VoDD42tHzMkCP1ocdn
What is wrong with PhpStorm? This was not happening on the previous version with the very same plugins installed/enabled
PhpStorm 2024.2
Build #PS-242.20224.361, built on August 10, 2024
Runtime version: 21.0.3+13-b509.4 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 16384M
Cores: 10
Metal Rendering is ON
Registry:
run.processes.with.pty=TRUE
ide.experimental.ui=true
Non-Bundled Plugins:
String Manipulation (9.14.1)
ru.adelf.idea.dotenv (2024.2.1)
mobi.hsz.idea.gitignore (4.5.3)
Please sign in to leave a comment.
Hi Reynier,
Please try the following things to mitigate the problem:
-Dsun.java2d.metal=false
there and restart the IDEHi Arina Efremova I have followed your instructions and it does not seem to be working. I must add that this freezing does not happen while I am working it happens if I step away from keyboard and the MacBook enter in Screen Saver mode. I have to add here to that it happen if I have one project opened but it also happen with two or more projects opened. I can attach new logs if needed but not sure how to
I'm experiencing a similar issue. Though in my case, it intermittently freezes while I am typing. I only started experiencing this issue after updating to latest PHPStorm update.
Running a Apple M3 Max on Sonoma 14.6.1
Levi Melamed
Reynier Perez
Do you use the IDE in full-screen mode?
Do you have multiple monitors? If so, when it freezes, does it help to move the IDE window between them to force UI repainting?
Please also take several
jstack
dump files while the IDE is freezing and upload them to our server (instructions).Arina Efremova
Here is ID for the jstack dump: 2024_08_21_9A8RbUnZC9NBaTM3ck83Zf
Thanks Reynier Perez
The stack trace points to this issue, which is still unresolved: https://youtrack.jetbrains.com/issue/JBR-5497
As a workaround, can you check if it helps to disable full-screen mode before you put your Mac to sleep?
Arina Efremova I have not yet had a chance yet to reproduce the issue, but I can confirm in my case, I'm using multiple monitors, and the IDE is not in full-screen mode.
Hi Arina Efremova that did not help either, I left the IDE open yesterday after I finish working in non full-screen mode and of course the laptop screen saver started and the laptop got automatically locked and today after open the laptop surprise PhpStorm is freeze again. Could PhpStorm prioritize this and get a new version soon?
I do not mind restarting the IDE from time to time but I do mind losing work even with all the good stuff the new release bring to use I am willing to go back until this gets fixed …
Hi Reynier Perez - thanks for giving it a shot.
The issue is already prioritized (ticket Priority = Major). There is a number of recent reports for version 2024.2, so our dev team is actively looking into the root cause.
I also added your case to the ticket for everyone's reference. Hopefully, it can help speed up the process of investigation.
Thanks for your patience.
I believe this is an issue with PHPSTROM itself, I am using magento2.4.7 and phpstrom, I have tried all the possible ways such as increasing the memory, Disabling all plugins and all but it keep freezing and spiked CPU to 200 - 400%.
This must needs to fix from phpstrom side despite just sharing the logs.
I am using mac m3 Max with 64GB RAM, so I believe this is more then sufficient to perform smooth IDE.
The same here.
Enter code editor → freeze → start typing → freeze → try to open folders → freeze → open settings → freeze.
I tried all workarounds from community forums, disabling plugins, changing memory size, changing settings.
There is no special prerequisitions:
I'm following freezing problem topics for a long time.
It's hard to imagine why the P0 critical bug is still not fixed for such a long time.
krunallakhatariya2212, Sbodak, as the root cause can differ in each case, please submit a request to support via Help | Contact Support and share logs for further investigation.
Hi there
I have the same behavior when I screen share using Zoom or Slack. To get out of this freeze faster, just change the size of the PHPSTORM window by a couple of pixels by pulling its edge. This behavior appeared a month or two ago. I'm using the latest version of PHPSTORM Build #PS-242.23726.107, built on October 23, 2024 and a MacBook Apple M2 Pro (MacOS Sequoia 15.1) 32GB RAM
Hello Tuktukvlad,
In this case, adding
-Dsun.java2d.metal=false
in Help | Edit Custom VM Options should help.If the issue persists, consider submitting a request to Support via Help | Contact Support and share logs from Help | Collect Logs and Diagnostic Data there.