We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shutdown
Whenever users report memory usage related issues, we always advise them to collect a memory profile.
Currently we collect the profiles upon cancellation (typically triggered by exit RPC notification and/or SIGINT).
exit
terraform-ls/internal/cmd/serve_command.go
Lines 71 to 82 in 81b49a1
While many users were able to obtain profiles that way, we discovered this strategy has two problems:
Lines 98 to 100 in 81b49a1
Move profile file to the shutdown handler
terraform-ls/internal/langserver/handlers/shutdown.go
Lines 7 to 9 in 81b49a1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Background
Whenever users report memory usage related issues, we always advise them to collect a memory profile.
Currently we collect the profiles upon cancellation (typically triggered by
exit
RPC notification and/or SIGINT).terraform-ls/internal/cmd/serve_command.go
Lines 71 to 82 in 81b49a1
While many users were able to obtain profiles that way, we discovered this strategy has two problems:
terraform-ls/internal/cmd/serve_command.go
Lines 98 to 100 in 81b49a1
Proposal
Move profile file to the
shutdown
handlerterraform-ls/internal/langserver/handlers/shutdown.go
Lines 7 to 9 in 81b49a1
The text was updated successfully, but these errors were encountered: