|
|
|
|
|
by marshughes
479 days ago
|
|
First of all, you can try to update VS Code to the latest version. Sometimes, memory problems may be caused by bugs in older versions, and new versions often fix these issues. You can also check the installed VS Code extensions. Some extensions may have memory leaks. You can try to disable some non - essential extensions and observe whether the memory usage improves. In addition, regarding the WSL memory settings, you can further optimize the configuration in the .wslconfig file, for example, adjust parameters like pageReporting to better manage memory allocation.
For alternative editors, you can consider IntelliJ IDEA. It has good support for a variety of programming languages and has specific configuration options for WSL, which can run well in the WSL environment. Although it is an IDE, if you are used to the rich features of VS Code, the feature set of IDEA may also better meet your needs.
Did you encounter any difficulties when trying the above optimization methods for VS Code? |
|
I'm on the latest version (1.97.2).
I can try the other memory settings indeed, but I think the culprit is the builtin file watcher. I've stumbled across some similar issues on Github, open for 5 years without a solution :(
Isn't IntelliJ IDEA for Java/Kotlin? I have a project which is cross-languages: Go+Rust on the backend, Typescript/React on the frontend, Hurl and Python (Robot Framework) for the test suite. And I'd rather not have one IDE per language (which is IIRC what Jetbrains do).