[GHC] #14988: Memory strain while compiling HLint

GHC ghc-devs at haskell.org
Fri Mar 30 20:22:53 UTC 2018


#14988: Memory strain while compiling HLint
-------------------------------------+-------------------------------------
           Reporter:  mcandre        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
           Keywords:                 |  Operating System:  FreeBSD
       Architecture:  x86_64         |   Type of failure:  Compile-time
  (amd64)                            |  performance bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I want to setup a build bot for generating Haskell binaries in an
 automated fashion, however even with 4 GB of RAM, cabal is unable to build
 HLint in HardenedBSD. Specifically, GHC is choking on mmap errors while
 compiling HLint's huge dependency tree.

 Can we somehow shrink the massive memory usage of GHC, so that common
 packages HLint can be built on medium-low build bots? Imagine GHC running
 on a RaspberryPi: You're gonna have a bad time.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14988>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list