Open
Description
haskell-language-server/ghcide/src/Development/IDE/Core/Rules.hs
Lines 506 to 513 in e0a4642
del
in line 512 keeps two large byte strings alive:
- source code of the .hs file on disk
- source code recorded in the .hie file
This is leaked for all the modules in the project with an entry in the hiedb and a .hie
file (all in most circumstances).
The memory leak is not flushed until the HieAstResult
is actually used and the PositionMapping
is forced.