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.
Please register or sign in to comment