Recently, IDEA completely freezes at night.
Recently, when I turn off my monitors, sleep, go to work, get home, and my monitors back on, the open IDEA windows are completely frozen in place, and when I attempt to resize them, they turn blank.
I first started seeing this less than 7 days ago, with IJ2024.2.1 (242.21829.40). I then downgraded to IJ2023.2.2 which I still had installed in Jetbrains-toolbox. It started up with different projects open, because it uses an older config directory. The same happens, every night, in typical Schrödingbug fashion.
To my knowledge, nothing about the system that might influence IJ has changed. It runs several software upgrade rounds per week (I use Linux Mint). I tweaked the keyboard repeat delay last week (something I've never done before, so it might be relevant; although I don't know the original number). Every day when I turn on my monitors I have to change the DPI back (with a lil script), which I've been doing for ages, so nothing has “changed” in this regard. (And IJ's DPI doesn't change anyway unless it's started in a wrong-DPI state. When I turn on my monitors, IJ is the only program with readable text.) When I turn my monitors off, and back on, and fix DPI, IDEA doesn't freeze.
The log shows nothing unusual. In particular, it logs hourly JVMResponsivenessMonitor reports, which all look clean (up to 25000us max).
The system's Real Memory usage is below 75% (8GB+ free).
Any idea what's going on or how to troubleshoot this?
请先登录再写评论。
I guess threatening works. Tonight was the first night in a while where it didn't freeze.
Hi, Mark Jeronimus. Already answered you here, is it the same problem?
That thread shouldn't exist. When I posted it, I got a timeout error, was able to press the back button and recover my typed message. Went looking for if the thread in the forum but didn't find anything, so I tried again and this time it went through.
Update: On my day off, I was actively coding. I had lunch, walked away for 2 hours, came back, and found the IDE frozen.
Diagnostic information:
Log snippet:
Log in 2023.2.2 loos different:
I thought there were no thread dumps, because there's nothing in the logs at time of freeze, but there were dumps after all when I peeked in the log directory. ID: 2024_08_30_YYHHWyHEg9tvax62NWNffV
For others reading this, the last thread dump is threadDumps-freeze-20240830-153137-IC-232.9921.47 (2024-08-30 15h) but in the log directly above there's no entry at 15h, only 14h and 16h (a 1h difference can't be because of my timezone)
Mark Jeronimus, could you please share the whole log? I need to figure out which thread dumps are relevant to your problem; also, other information from the IDE logs (such as runtime used for the IDE, last entries before the freeze, etc) could be helpful in determining the core reason.