Should check the return values of the various *alloc functions, and recover when possible. In some cases we already do.
Some existing checks currently log and abort on failure. Would be better to let the caller handle it.
Not a terribly high priority at least on Linux, given the OOM killer, and most alloc failures are likely quickly followed by a segfault.
Should check the return values of the various
*allocfunctions, and recover when possible. In some cases we already do.Some existing checks currently log and abort on failure. Would be better to let the caller handle it.
Not a terribly high priority at least on Linux, given the OOM killer, and most alloc failures are likely quickly followed by a segfault.