Out-of-bounds memory allocation request sizes should be treated as just
authorTom Lane
Tue, 6 Feb 2001 01:53:53 +0000 (01:53 +0000)
committerTom Lane
Tue, 6 Feb 2001 01:53:53 +0000 (01:53 +0000)
commit85c17dbff8ade0c5237e3ac1ece7cacacfdde399
tree63209683720c582769cdb87e247d9dfa4f39320e
parent192ce19d361b1a6ee5a6d7198ddb38780ec0cab8
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.
src/backend/utils/error/excid.c
src/backend/utils/mmgr/mcxt.c
src/include/utils/excid.h
src/include/utils/memutils.h