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

ImplScope should preemptively gc as we approach the soft limit for memory utilization

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.10
    • 3.3.12
    • JavaScript
    • None
    • Fully Compatible
    • Platforms 2016-08-26

    Description

      We've currently implemented soft limits on memory consumption that attempt to catch out of memory conditions and unwind gracefully by throwing javascript exceptions. This may not be good enough however (as it still kills the running javascript job and memory use ramps higher than we like, which may cause actual ooms if many js jobs each settle at the 1gb limit).

      We should periodically force a hard gc during the interrupt callback if we're above some high water mark instead.

      Attachments

        Issue Links

          Activity

            People

              matt.cotter Matt Cotter
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: