Opened 12 months ago

#15612 new bug

Got Unable to commit 16777216 bytes of memory error on Ubuntu

Reported by: figelwump Owned by:
Priority: normal Milestone: 8.6.1
Component: Compiler Version: 8.2.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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!

Change History (0)

Note: See TracTickets for help on using tickets.