IDEA slow after unplugging montiors on Macbook

Answered

Strange issue started a few months ago, happens on IDEA 2019.1.1 #IU-191.6707.61, not sure what version it started on. I think I updated a couple times since it started happening.

 

When I "undock" my Macbook (lid closed, plugged into two monitors and power, with wireless keyboard/trackpads), basically I just unplug the monitors and power, then walk to the conference room and oftentimes soon IDEA will start eating up CPU cycles and the fan turns on pretty soon. I'll then open the lid and login (logout timeout is 5s after undocking), and I'll notice the IDE is taking forever painting the screen as only a small portion of the screen is rendered on the left side and pixel by pixel it is painting from the left very slowly and usually in the wrong resolution, like in super small font size. CPU stays around 99% for IDEA. I force quit and restart IDEA to fix this. This happens every few days or so, not every time I undock.

Has this happened to anyone else here? I don't notice an existing bug on this.

3 comments
Comment actions Permalink

Please try running IDE under this jdk (use switcher action to switch to it).

Another option to try is IDE distribution with 11 JetBrains Runtime:

If issue remains, please file a bug at https://youtrack.jetbrains.com/issues/IDEA with IDE log folder zipped and CPU snapshot taken at the moment of it's high usage.

1
Comment actions Permalink

Hello Andrey, Thanks for the suggestion. I'm trying the latest 11 from bintray, https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under

 

Will try this week and see if it happens again.

0
Comment actions Permalink

Thanks Andrey, using the latest Java 11 from bintray fixed this. I haven't seen this happen again this week after I applied it.

0

Please sign in to leave a comment.