[GHC] #903: Bogus out of memory error with -H and -M

GHC trac at galois.com
Tue Sep 19 16:53:59 EDT 2006


#903: Bogus out of memory error with -H and -M
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Runtime System  |      Version:  6.4.2  
    Severity:  normal          |     Keywords:         
          Os:  Unknown         |   Difficulty:  Unknown
Architecture:  Unknown         |  
-------------------------------+--------------------------------------------
I've been noticing that -H and/or  -M sometimes lead to odd out-of-memory
 errors (which is a little disappointing because when you have a memory
 intensive program they can be helpful in tuning performance and
 footprint).

 Here's a repeatable testcase. Compile and run the attached program with
 -H1.5G and -M1.5G. It will crash with an out-of-memory error even though
 if you run it without those flags I can't really measure much memory usage
 at all (via top or time).

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


More information about the Glasgow-haskell-bugs mailing list