atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

ghc-mod using all my memory #178

Closed BillyBadBoy closed 7 years ago

BillyBadBoy commented 7 years ago

I've re-installed atom on a new linux installation and find that I can only work with atom for half an hour or so before it grinds to a halt. When I do a 'top' from a terminal I see that the ghc-mod process is using about 80% of my memory - which never gets released. I have always had atom configured to check and lint on any change and have never had this problem before.

As a workaround I am only checking/linting on save. This lets me work for much longer - but even like this the memory usage for ghc-mod slowly creeps upwards.

Any ideas ?

lierdakil commented 7 years ago

See https://github.com/DanielG/ghc-mod/issues/834 -- it's probably related to that. TL;DR this is mostly apparent with ghc-8, due to overall higher memory consumption.