x/tools/gopls: memory leak in parsing #57222
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
It looks like following recent changes to snapshot accounting,
snapshot.ParseGo
does not track parse keys modes correctly, causing gopls to hold onto parse results from earlier versions of a file.This can lead to a significant memory leak over time, particularly for large files.
Fix incoming.
CC @adonovan
The text was updated successfully, but these errors were encountered: