-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Stability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I think we'd be better off setting up a new_handler that can print a stack trace and _exit() on out of memory since we can't really handle it well. Right now a bad_alloc error is often (amybe always) followed by segfault. Also we currently don't get a stack trace on bad_alloc because it unwinds the stack before we can catch it.
- duplicates
-
SERVER-3612 Add a new_handler that aborts on bad_alloc
-
- Closed
-