Space leak in persistentHieFileRule #1946
Labels
performance
Issues about memory consumption, responsiveness, etc.
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
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: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 thePositionMapping
is forced.The text was updated successfully, but these errors were encountered: