FIX #1791: fail with out-of-heap when allocating more than the max heap size in one go
authorSimon Marlow <simonmar@microsoft.com>
Wed, 24 Oct 2007 09:54:20 +0000 (09:54 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 24 Oct 2007 09:54:20 +0000 (09:54 +0000)
commite33b257ee0706bcf08fa7eba56c17fbd2dd223a5
treec62c2a7cca62f2a7d0ce5836012d31a26ac87647
parent1322d0f3bcca779720ce9e6b9014f575435631c0
FIX #1791: fail with out-of-heap when allocating more than the max heap size in one go
Normally the out-of-heap check is performed post-GC, but there are
cases where we can detect earlier that we definitely have exhausted
the heap size limit.
rts/sm/Storage.c