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.
Showing
- src/backend/utils/error/excid.c 1 addition, 13 deletionssrc/backend/utils/error/excid.c
- src/backend/utils/mmgr/mcxt.c 7 additions, 5 deletionssrc/backend/utils/mmgr/mcxt.c
- src/include/utils/excid.h 1 addition, 3 deletionssrc/include/utils/excid.h
- src/include/utils/memutils.h 5 additions, 4 deletionssrc/include/utils/memutils.h
Loading
Please register or sign in to comment