Closed
Description
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