[SERVER-3583] create a new_handler to better handle out of memory Created: 11/Aug/11  Updated: 29/May/12  Resolved: 26/Oct/11

Status: Closed
Project: Core Server
Component/s: Stability
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3612 Add a new_handler that aborts on bad_... Closed
Participants:

 Description   

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.


Generated at Thu Feb 08 03:03:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.