IDEA 2022.1.1 freeze (on wsl2(ubuntu))
已回答
when I open gradle project, IDEA freezes on indexing process and inportnig gradle library data process (2022_5_25).
Maybe .gradle folder caused this freezing.
请先登录再写评论。
Can you please collect additional information for the investigation?
(Help | Collect Logs and Diagnostic Data)The files can be uploaded at https://uploads.jetbrains.com (do not forget to specify the UploadID)
I upload idea.log.
This log contains Starting IDEA so do not contains import gradle process.
Could you upload the entire logs folder (Help | Collect Logs and Diagnostic Data), not only the idea.log file so that I can check the freeze dumps?
Please specify the uploadID in the thread after uploading.
Upload ID: 2022_05_26_6qmbCkf3YxeUjQeS
This log contains gradle problems.
Thank you!
Please disable or exclude WSL interface and IDE form antivirus/firewall scan. Try with antivirus/firewall disabled or make sure that IDE settings directories IDE installation home and project files are excluded from the scan. Please see also https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html#debugging_system_settings
If the problem remains, please try disabling Kotlin plugin and report if it helps.
If the problem still remains with Kotlin plugin disabled, please remove the logs folder, restart the IDE and attach IDE logs right after IDE freezes (Help | Collect Logs and Diagnostic Data action)
Not sure whether it helped topicstarter, but for me, seeing the exact symptoms:
disabling bundled Kotlin plugin helped.
Just disable Windows Defender real time protection. Nothing else work, no exclusion folders doesn't work also.
https://github.com/microsoft/WSL/issues/8995
This solution works, but my work laptop cannot disable the real-time protection for security policies. 😥
Aren't there any other workarounds?
I think if you install other antivirus .. Avast etc.. it will disable windows defender... and EVERYTHING is better then what Microsoft created I guess :D
Sadly, the AV choice is not mine 😓
Sadly I dont think you have many options
1) ask for AV replacement
2) ask for the operating system for grownups like Linux or Mac in some very bad alternative reality for grownups :)
3) leave your company since they doesn't allow you to do your job.
I do not think IntelliJ will have a fix soon, the only way to fix is to not use the network drive / windows absurd communication to read the content in WSL2.. instead to do something like vscode is doing.. to start a linux process in the WSL2 that maybe opens a SocketServer and to make their IDE to use this SocketServer to read the file content from inside the WSL2 by this skipping all windows mambo jambo. However, this sounds like a huge task and I don't expect it to happen soon (if at all).