create a new_handler to better handle out of memory

XMLWordPrintableJSON

    • 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.

            Assignee:
            Unassigned
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: