[Pkg-haskell-maintainers] Bug#766738: ghc-mod: Uses hundreds of MB of memory per open file in Emacs

Gard Spreemann gspreemann at gmail.com
Sat Oct 25 12:02:23 UTC 2014


Package: ghc-mod
Version: 4.1.2-2
Severity: important
Tags: upstream

Dear Maintainer,

When used with Emacs, ghc-mod 4.1.2-2 will, unlike versions < 4, consume
hundreds of MB of memory *per open file* in many cases. For many, this will
be a serious regression from earlier versions, making ghc-mod's Emacs 
integration practically useless.

The problem is known upstream [1], and seems to be (at least partly) rectified
in ghc-mod 5.x. The latter is not packaged in Debian, and does introduce a few
new dependencies that are also not packaged in Debian.

Since Emacs integration is a (the?) major feature of ghc-mod, should perhaps
ghc-mod be downgraded to 3.x, or upgraded to 5.x, before Jessie?

[1] https://github.com/kazu-yamamoto/ghc-mod/issues/243


-- System Information:
Debian Release: jessie/sid
  APT prefers utopic-updates
  APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500, 'utopic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-23-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghc-mod depends on:
ii  haskell-mode  13.10-2
ii  libc6         2.19-10ubuntu2
ii  libffi6       3.1-2
ii  libgmp10      2:6.0.0+dfsg-4build1

Versions of packages ghc-mod recommends:
ii  ghc  7.6.3-19

ghc-mod suggests no packages.



More information about the Pkg-haskell-maintainers mailing list