Lagging when opening a single project, but resolves when multiple projects are open
Hi,
I've recently migrated to a Macbook Pro 2022, with the latest version of MacOS. I'm having a strange issue of periodic freezing for 500ms when typing, and it only seems to be happening within the Jetbrains suite (golang, webstorm, intellij). The problem can be mitigated by opening another project, which stops the lag from happening entirely. This happens every single time.
Unfortunately, this prevents me from using the new UI as this solution does not work.
Has anyone see this problem before? i have tried both reinstalling the IDE's and updating to the latest MacOS version, without success. I'm also fairly confident it's not any other software (unless there's any conflicting pre-installs) as this happened straight out of the box when the Mac was brand nnew.
Has anyone else see this problem?
Thanks,
请先登录再写评论。
Hello, Michael Fletcher153.
Could you please share the IDE logs (
Help | Collect Logs and Diagnostic Data
) via the JetBrains Uploads service and write here the ID you receive? I want to take a look if there are any related errors or thread dumps written when the IDE was frozen.Also, please, check if increasing the memory heap size as described here helps.
2023_09_26_efzZfxEkVtqLoS4GPrCrDm
I should note that i've already tried increasing the available memory, without success. I have also tried disabling all optional plugins.
Thank you for sharing the IDE logs. Unfortunately, I don't see anything suspicious in there.
Is it possible to update the IDE to the latest available release? In the logs, I see that you use GoLand 2022.3.x, and the latest available version is 2023.2.2.
If updating doesn't help, and the freezes remain, please, capture 2-3 thread dumps using Jstack the next time you reproduce the issue. You can find the instructions on how to do it, here.
I finally got to the bottom of it, enabling “Displays have seperate spaces” option in MacOS fixed the problem, outlined in this thread: https://youtrack.jetbrains.com/issue/JBR-5298
Not sure why it would lag my editor and terminal, but it seems to be working now. Thank you for the assistance.
Michael Fletcher153, thank you for the update; I'm glad the issue is solved now!
Please, feel free to contact us in case of any questions or requests.