IDE freezes after running the project multiple times

已回答

When I run the simplest Java program ~12 times in a row, IDEA partially freezes. RUN (Shift+F10) can no longer be executed, it is impossible to exit the IDE. Only forced termination of the process in Windows task manager helps. 

I encountered this in versions ideaIU-2024.3.2, ideaIU-2024.3.2.2. Tried reinstalling - no luck. 

The problem is easily reproducible. What should I do? Is there any solution to the problem?

---

Original description

Перестает выполняться RUN (Shift+F10) после ~ 12-ти запусков подряд. 

Проблема: достаточно запустить подряд ~ 12 раз простейшую программу на  Java, происходит частичное зависание idea. RUN больше не выполняется, выйти из idea не возможно. Помогает только принудительное завершение процесса idea в диспетчере задач Виндовс.

Столкнулся в версиях ideaIU-2024.3.2,  ideaIU-2024.3.2.2.  Переустанавливал. 

Проблема легко воспроизводится. Что делать? Есть какое-либо решение проблемы?

Спасибо.

0

Hi,

See if it helps to apply solutions from this guide: IntelliJ IDE becomes unresponsive to mouse input, UI is frozen or blank

If the issue remains, please provide logs and thread dumps for analysis as requested in this section. I will search for exceptions and check your system environment settings.

Logs can be uploaded privately to our server. Make sure to share the id of the upload here so that I can find it.

1

Good afternoon Arina,
As a temporary solution, I rolled back to ideaIU2023.3.8. On ideaIU2023.3.8, the problem does not appear - everything works fine.
I will update the version within 1-2 days. If the problem is reproduced, I will try to follow your recommendations or send logs.
Thank you for the quick response!!!

0

Thank you for the update.

Of course, let me know how it goes 👍🏻

0

Hi Arina, glad to talk to you again.
What I did:
1. Made sure that ideaIU2023.3.8 has no problems with running a simple program. Simple program:
public class Main {
public static void main(String[] args) { System.out.println("Hello, World!");}
}

2. Uninstalled ideaIU2023.3.8.
3. Installed ideaIU2024.3.2.2
4. Made sure that the problem is reproducible: ~20th consecutive launch resulted in a partial freeze of the IDE.
5. Performed "Temporarily disable all of your custom plugins and restart the IDE: Preferences | Plugins | Installed | ⚙ | Disable all downloaded plugins". However, I have no downloaded plugins.
6. Checked: the problem is reproducible.
7. Performed "Increase the heap size in Help | Change Memory Settings. You can increase it up to 85% of the overall available memory." Set to 12000 Mib.

8. Checked: the problem is reproducible.
9. Performed the check: "Switch runtime JDK to default JetBrains Runtime in case something else is selected." The runtime was: 21.0.5+8-631.30-jcef JetBrains Runtime Bundled.
9. Finally, I unload the logs via Help | Collect Logs and Diagnostic Data
Upload id: 2025_02_05_23VW8XrzyQ7KP7H9Brh9tF (file: idea-logs-20250205-21531215540289349015799924.zip)

Thanks for your help, I will wait for news from you.   Alexander.

0

Thanks a lot, I appreciate your efforts! 

I was able to reproduce the issue and found a similar one already reported: IDEA-366832 

Updated its description and attached my own findings as a private comment visible to developers only so that they can check the logs and advise on the troubleshooting steps or a workaround. Will also monitor the issue to keep its status up to date.

You are welcome to follow the progress in IDEA-366832. See this article if you are not familiar with our bug tracking system.

0

Hi Arina,
I'll follow solution to  problem IDEA-366832 .
For now, I'll roll back to version ideaIU2023.3.8.
Thanks for your help.

0

Hi Nosik Av Sd 

Looks like we've managed to identify the issue (in scope of another ticket, IDEA-363384). The fix for it will be included in the 2025.1 release (ETA: April 1). 

Until then, see if it helps to apply the following workaround:

  1. Go to main menu -> Help -> Find Action (or Ctrl+Shift+A / Cmd+Shift+A)
  2. Type "registry" and select the first found item, ‘Registry...
  3. In the dialog that opens, start typing to find the option called profiler.widget.in.run.console -> disable it
2

Hi Arina,
I installed ideaIU-2024.3.2.2.

I applied your recommendations: profiler.widget.in.run.console -> disable it

Everything is OK!!!!!
Thank you very much for your prompt help!!!

Have a nice weekend.

0

Glad I could help 👍🏻 

Enjoy your weekend too!

0

请先登录再写评论。