[GHC] #15612: Got Unable to commit 16777216 bytes of memory error on Ubuntu

GHC ghc-devs at haskell.org
Thu Sep 6 18:59:53 UTC 2018


#15612: Got Unable to commit 16777216 bytes of memory error on Ubuntu
-------------------------------------+-------------------------------------
           Reporter:  figelwump      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.2.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:  x86_64         |   Type of failure:  None/Unknown
  (amd64)                            |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 When running stack build on Ubuntu 18.04 on an AWS t2-micro instance (1 GB
 RAM), I got the following error:


 {{{
 Preparing to install GHC to an isolated location.
 This will not interfere with any system-level installation.
 Downloaded ghc-8.0.2.
 Installed GHC.
 Populated index cache.
 stack: internal error: Unable to commit 16777216 bytes of memory
     (GHC version 8.2.2 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

 }}}

 ... After which there's no more output and stack build seems to hang. Any
 guidance here would be appreciated, thanks!

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


More information about the ghc-tickets mailing list