in reply to Re^2: die rather than exit on out-of-memory failure?
in thread die rather than exit on out-of-memory failure?
Indeed.
Rather than explode the spaceship, there should be a light which says 'please do not press that malloc button again'.
It is relatively easy to generate such a large memory request in PDL even accidentally, by the nature of the language, And 200 Mb objects aren't much these days in the era of Gb memory computers.