Reduce strain on PPC Mac OS X swapspace when test case outofmem2 fails
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 (closed) 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
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Test Suite |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |