IntelliJ Idea is freezing when I'm working with code

159 views
Skip to first unread message

bycter 1

unread,
Oct 31, 2023, 5:59:57 AM10/31/23
to Illuminated Cloud Q&A
Hi Scott, could you help with the issue? I faced with it for two or three months. When I'm working with code, the UI can freeze for a 5-10 seconds: I'm not able to use mouse or touchpad (but I noticed that mouse is moving on second monitor).
I re-install windows and all apps but it was not help me.

Laptop: Xiaomi Notebook pro i7-8550U, 16Gb, 512Gb
Windows 10, IntelliJ Idea 2023.2.4, IC2 2.2.8.8

Maybe I need to upgrade the laptop or it is some issue with Intellij Idea plugins, I don't know, but this behavior is very annoying.


idea-logs-20231031-10551610819116785197429627.zip

Scott

unread,
Oct 31, 2023, 9:46:39 AM10/31/23
to Illuminated Cloud Q&A, byc...@gmail.com
The main reason for such pauses would be insufficient memory allocated for the IDE resulting in frequent and/or long garbage collection pauses by the host JVM. The default max heap size setting is generally too low for any real development work, whether that's Salesforce, Java, or otherwise. You can increase it as follows:


I generally recommend at least 2GB for any real work. Given that your machine has 165GB of physical memory, I'd probably recommend 4GB for you.

Make that adjustment and, if the problem persists, please open a bug in the public issue tracker and we'll get new diagnostic logs from that configuration.

Regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages