#9904: ghc: out of memory, requested 1048576 bytes on openbsd -----------------------------------+------------------------------------ Reporter: vu3rdd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: cabal-install Operating System: OpenBSD | Architecture: Unknown/Multiple Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -----------------------------------+------------------------------------ Comment (by vu3rdd): Replying to [comment:1 rwbarton]:
Is it possible that your system is actually running out of memory? ghc is rather RAM-hungry and it might fail to build cabal if you have less than around 1G free.
Thanks. I tried increasing the swap by another 1 GB and still get this problem.
In any case, the ghc 7.6 line is no longer being developed so if you do think it may be a bug in ghc, try ghc 7.8 first (you'll have to install cabal 1.18 or newer to work with ghc 7.8).
Thanks. I will try upgrading to cabal 1.18.x. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9904#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler