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

JS does not GC properly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • JavaScript
    • None
    • ALL
    • Platforms 2016-08-26

    Description

      Garbage collection in Javascript is supposed to be transparent, ie. it is a feature of the language and the (non-standard) gc() function should never need to be called under ordinary circumstances.

      However, under certain circumstances/workloads, the JS interpreter does not GC often (or aggressively) enough, which can cause memory exhaustion problems.

      The workaround is to force garbage collection by calling gc() frequently.

      Attachments

        Issue Links

          Activity

            People

              jason.carey@mongodb.com Jason Carey
              kevin.pulo@mongodb.com Kevin Pulo
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: