Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21717

We should soft abort on out of memory conditions in javascript

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc6
    • Affects Version/s: 3.2.0-rc4
    • Component/s: JavaScript
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platform D (12/11/15)

      We should abort in out of memory conditions by setting the out of memory status on the scope and requesting an interrupt, rather than relying on spidermonkey always handling out of memory conditions gracefully.

      While spidermonkey can handle most cases, by gcing and coming up with enough memory to fail out gracefully, there are edge cases where it can't. We shouldn't crash for any of those.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: