Open cveld opened 3 weeks ago
We've just released v2.31.2024061114
, which ships with a re-architected language server for improved performance and resource usage (terraform-ls#1667). The language server will now start up much faster and use fewer resources, especially on larger workspaces.
In VS Code, you can opt in to the extension preview:
If you have the time, please give it a try and let us know how it works for you. We have tested this with workspaces of different sizes, but still expect some bugs due to the wide variety of configurations. Your feedback is greatly appreciated.
Language Server Version
not sure
Terraform Version
terraform v1.8.1 on windows_amd64
Client Version
vscode 1.90.0 terraform extension 2.30.2
Terraform Configuration
Steps to Reproduce
Just open vscode and wait for the memory consumption to kick in during the day.
Expected Behavior
Little memory usage
Actual Behavior
Huge memory usage
Gist
No response
Workarounds
I occasionally kill the terraform-ls.exe processes and start over.
References
No response
Help Wanted
Community Note