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

JS does not GC properly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: