Closed unitythemaker closed 1 month ago
Sometimes the same thing happened to me on Windows, when, for example, in the terminal inside zed, I run a program to generate a lot of files. I assume that in my case this is because zed starts to run indexing on every new file that is generated. I also have suspicions that the zed terminal is considered part of the ide program, so any resource-intensive program that runs in the terminal inside zed starts to slow it down.
I need to investigate this further but it seems like core file is generated by node. I will try to get a core file while using other IDEs such as VSCode and see if it's a problem with Zed (more likely LSP) or node (code or one of the libraries).
It is generated by a library I use. Not Zed related, closing.
Check for existing issues
Describe the bug / provide steps to reproduce it
I had two different Go projects (windows) open in Zed for around 5-6 hours. Not very big projects but randomly my PC got very slow (while Zed was focused but I was just scrolling in the same code), I felt it then I checked htop and seen the below usage.
I am not sure but when this happened, I usually had a core file generated at the root of the project but this time it took too much time so I quit the editor and restarted and it got back to normal. Editor was not frozen but was just using high CPU.
I am unsure but this could be another issue. I get core files generated randomly almost in every project I open. The core files are usually around a few hundred MBs, I do think when this happens it slows my machine temporarily because of high I/O. I usually work on JavaScript (Nuxt) projects which this happens quite often, sometimes I see them in my Go projects but I never seen them in my Python projects (I usually don't code Python often though, just around an hour per week). This issue bothers me because I needed to add
rm core
in my Git hook to remove that big file before committing my changes.I love Zed but I just want this issue to be gone. I want to help you by providing info and etc., guide me and I will try my best.
Environment
Zed: v0.152.3 (Zed) OS: Linux Wayland nixos 24.05 Memory: 62.6 GiB Architecture: x86_64 GPU: Intel(R) UHD Graphics (TGL GT1) || Intel open-source Mesa driver || Mesa 24.0.7
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your Zed.log file to this issue.
Zed.log