Out-of-bounds memory allocation request sizes should be treated as just

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 85c17dbff8ade0c5237e3ac1ece7cacacfdde399
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-02-06T01:53:53Z
Releases: 7.1.1
Out-of-bounds memory allocation request sizes should be treated as just
elog(ERROR) not an Assert trap, since we've downgraded out-of-memory to
elog(ERROR) not a fatal error.  Also, change the hard boundary from 256Mb
to 1Gb, just so that anyone who's actually got that much memory to spare
can play with TOAST objects approaching a gigabyte.

Files

PathChange+/−
src/backend/utils/error/excid.c modified +1 −13
src/backend/utils/mmgr/mcxt.c modified +7 −5
src/include/utils/excid.h modified +1 −3
src/include/utils/memutils.h modified +5 −4