#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       |     Resolution:         
 Keywords:               |     Difficulty:  Unknown
 Testcase:  outofmem2    |   Architecture:  Unknown
       Os:  Unknown      |  
-------------------------+--------------------------------------------------
Comment (by duncan):

 Also, on 64bit platforms with VM overcommit (like linux on amd64) this
 test fails by timing out. It allocates gigabytes and gigabytes of virtual
 address space but the OS never refuses the requests for more (until
 perhaps the whole of physical memory fills up with page tables). The test
 should set a ulimit to limit the amount of virtual address space the
 process is allowed. Then it'd actually work on standard 64bit linux and if
 the limit were set low enough then it'd work nicely on MacOSX which
 apparently likes to make sure there's as much swap space as allocated
 virtual address space.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1840#comment:1>
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