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

We should soft abort on out of memory conditions in javascript

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc6
    • 3.2.0-rc4
    • JavaScript
    • None
    • Fully Compatible
    • ALL
    • Platform D (12/11/15)

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: