IntelliJ IDEA 2025.1 freezing after every sleep

已回答

Since upgrading to 2025.1, I've noticed that very often, after putting the laptop in sleep and resuming, IntelliJ IDEA ends up frozen and needs a Force Quit to resume work. 

Running on MacOS Sequoia 15.3.2 (24D81) on an M1 Pro MacBook Pro, but have had this happen on another laptop as well, very similar symptoms. 

Plugins are different between the 2 instances so not sure what the common root cause would be except the fact that it always happens after i.e. Power Button + ESC, or allowing the laptop to enter sleep. 

Any help in solving this promptly would be appreciated! 

29

It is an issue related to external screens, when I move the freezed window to my macbook screen it works. But when I move it back to the external screen, it freeze again. 

0

I DO, Same issue on latest Intellij IntelliJ IDEA 2025.1.1.1 (Ultimate Edition) with an M1 Pro.

0

I have the same issue on MacOS Sequoia 15.5.   100% of the time I have to force-quit Intellij after the Mac goes to sleep.   I uploaded my logs  2025_06_30_S6uHvHLLCJpeok7vjZLsDg (file: idea-logs-20250630-11104712542186571975127194.zip)

0

The freeze on waking from sleep issue was also happening for me on DataGrip 2025.1.2 on MacOS 15.4.1 on an M1 Pro. The workaround in this thread to disable Metal Rendering has appeared to resolve the issue for me.

0

Update - I can confirm that disabling Metal rendering seems to have solved the issue for me (Sequoia)

0

intellij are u kidding? I have been struggling with awful performance in projects with MUI (there is a ticket that is open for years) and now +1 issue, every time I open my laptop, it's stuck… Any plans to fix it??? I guess this is the time to improve quality…

0

I'm having the same issue on MacOS 15.3.2 (24D81) with Jetbrains latests versions, it's been several month that the problem is here

0
  • I am using IJ Ultimate both on Windows 11 Beta Channel and Mac OS 13.7.6, Intel MacBook Pro.
  • I do have an external monitor.
  • Intellij is 2025.1.3
  • Windows does not experience the freeze but Mac experiences it when I come back to it after not using it for more than an hour.
  • The Mac does not go screen saver but not go to a full sleep. This Monterey version does not have the App Sleep.
  • The UI appears to not be fully dead, but cannot click inside any code I was editing.

What would you like me to do to help address this issue? Note that when it freezes, I cannot still interact with IJ so I cannot ask it dump a log or anything like that when it is happening. 

0

Is the issue still reproduced if you turn off Metal Rendering on Mac? ( add `-Dsun.java2d.metal=false` in "Help | Edit Custom VM Options" and restart the IDE)

If no, it means that you faced an issue https://youtrack.jetbrains.com/issue/JBR-8637 

We located the issue root inside JBR and fixed it, but we don't have a stable reproducer on our side, therefore, we cannot be certain that the fix works in all the cases. To test the fix on your side, Please give the custom JBR build a try and let us know about the results.
To switch to the custom JBR, follow the steps below:

  1. Download JBR build compatible with your system:
  1. Uncompress it.
  2. Change the IDE boot runtime to this build as described in the documentation by selecting the .../Contents/Home folder inside the uncompressed directory as JDK home directory.
  3. Remove -Dsun.java2d.metal=false from .vmoptions (Help | Edit custom VM options) if you added it before and restart the IDE.

NOTE: If your macOS is unable to verify the unsigned JBR (example), please execute the following command to remove the com.apple.quarantine attribute from the JBR directory:
xattr -dr com.apple.quarantine /path/to/jbr_jcef-21.0.7-osx-aarch64-b1053

 

 

0

+ 1 - this is so shoddy as well, one of the worst updates so far. All fancy UI - no performance.

0

Nadia Tarashkevich OK, I will give this a try.

Everyone else, let's not attack each other on this. We need to work through this with JB. 
I have created many many bugs on my own product. Situations happens.  Things are very complex, I know and you know.
 

1

On build IU-251.26927.53, and it still happens. I usually have IntelliJ running on my external monitor, so just disconnecting the monitor and reconnecting fixes the issue. When frozen, the cursor doesn't blink, and the UI components are not responsive. The window frame's minimize/maximize does work.

0

Ranatnga Have you tried the solutions provided in this comment?

  1. Disable Metal rendering
  2. If it doesn't help, use the custom JBR build

If neither of the solutions help in your case, please submit a new issue to YouTrack and provide your logs for analysis: Help | Collect Logs and Diagnostic Data

0

请先登录再写评论。