#1840: Reduce strain on PPC Mac OS X swapspace when test case outofmem2 fails
----------------------------+-----------------------------------------------
    Reporter:  thorkilnaur  |       Owner:           
        Type:  bug          |      Status:  new      
    Priority:  normal       |   Milestone:           
   Component:  Test Suite   |     Version:  6.8.1    
    Severity:  normal       |    Keywords:           
  Difficulty:  Unknown      |    Testcase:  outofmem2
Architecture:  Unknown      |          Os:  Unknown  
----------------------------+-----------------------------------------------
 The outofmem2 test verifies that the runtime system reacts suitably to a
 request to allocate an amount of memory that exceeds the available heap
 space. See trac ticket #1791 for additional details.

 As a practical matter, when outofmem2 fails on my PPC Mac, it does so by
 succeeding to allocate about 1 Gbyte of memory. This causes a similar
 amount of additional disk space worth of swapfiles to be created. And this
 strains the capacity of my somewhat modest equipment.

 The attached patch supplies a suggested remedy for this, by simply
 reducing the amount ofmemory that outofmem2.hs attempts to allocate. It
 would be very useful for me to have this patch (or any other cure of the
 problem) also merged to the current stable where the problem occurs
 routinely.

 Best regards
 Thorkil

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1840>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to