[GHC] #9904: ghc: out of memory, requested 1048576 bytes on openbsd

GHC ghc-devs at haskell.org
Fri Jan 9 08:54:40 UTC 2015


#9904: ghc: out of memory, requested 1048576 bytes on openbsd
-----------------------------+-------------------------------------------
        Reporter:  vu3rdd    |                   Owner:
            Type:  bug       |                  Status:  closed
        Priority:  normal    |               Milestone:
       Component:  Compiler  |                 Version:  7.6.3
      Resolution:  fixed     |                Keywords:  cabal-install
Operating System:  OpenBSD   |            Architecture:  Unknown/Multiple
 Type of failure:  Other     |               Test Case:
      Blocked By:            |                Blocking:
 Related Tickets:            |  Differential Revisions:
-----------------------------+-------------------------------------------
Changes (by vu3rdd):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 OK, I solved the problem by taking cue from what others porting programs
 to OpenBSD have written.

 OpenBSD defaults limits listed in /etc/login.conf is pretty conservative.
 So, I increased the datasize: ... values to infinity. After that cabal
 installed the 1.22.0.0 just fine. It upgraded from 1.16.0.x to 1.22.0.0. I
 will also try compiling a newer version of ghc.

 I am closing the ticket. Thanks.

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


More information about the ghc-tickets mailing list