IntelliJ 2021.1 spawns java.exe processes until it freezes
Answered
Hello,
I just upgraded to the newest IntelliJ 2021.1 and tried to reopen the project I'm working on.
The project contains a lot of active maven modules (like hundred)
After opening the project the IDE starts to scan the maven projects and completely freezes my system.
I realized its spawning java.exe processes on and on and I can only wait for the OutOfMemoryException or kill the processes.
So I checked the log which is full of these messages for every single pom.xml
Creating new maven connector for Project...
Can you please explain why this is happening and how to turn that off please?
Thanks in advance,
Andreas
Please sign in to leave a comment.
Hello, Andreas
>Can you please explain why this is happening and how to turn that off please?
It should create a new java process (a Maven server process) per each linked Maven root project (i.e. which is independently imported into the current project). But I'm not sure this is what is happening. Could you please help us to verify how many Maven root projects you have: each Maven project which is imported as root should have such an indication in the Maven tool window:
Could you please attach the same screenshot of the Maven tool window for your project?
Are you on Windows?
We are investigating this problem in scope of IDEA-266058 issue. And would greatly appreciate any information you could provide. Thank you.
Hi Andrey,
in the maven sidebar I have 101 entries, only three of them have that root tag postfix.
I was about to add a screenshot of the taskmanager with the window full of java.exe processes, but I see you already have plenty of them :)
oh and I am working on windows.