Bug#869356: ghc: Eats gigabytes of memory when compiling haskell-skylighting
Jonas Smedegaard
jonas at jones.dk
Mon Jul 31 21:44:54 UTC 2017
Quoting Samuel Thibault (2017-07-22 11:45:22)
> As https://buildd.debian.org/status/package.php?p=haskell-skylighting
> shows, haskell-skylighting fails to build on a lot of architectures,
> from getting out of memory. I have indeed observed the RSS to be going
> very high during the build, more than a Gigabyte...
The version of skylighting in unstable is 0.1.1.5.
https://github.com/jgm/skylighting/blob/master/changelog.md has this in
its section for release 0.2:
> Skylighting.Syntax.*: use string representation of the Syntax, which
> is then 'read', rather than including the code for the data structure
> directly (#7). This indirect method produces faster compile times and
> avoids massive memory usage by ghc (especially in profiling builds).
> For background see
> http://stackoverflow.com/questions/16348340/compiling-very-large-constants-with-ghc
Skylighting is now at version 0.3.3.1.
Can we please have a newer release of Skylighting in Debian?
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20170731/73a9c14c/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list