Using $out in aggregation appears to leak non-mapped virtual memory

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.9
    • Component/s: Aggregation Framework
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using the c# driver, we run 200K+ aggregation jobs on a nightly basis where each uses $out to create a temporary collection. These collections are short lived and dropped after their data is moved to a permanent collection. Every time our jobs run we notice an increase of about 0.5gb of non-mapped virtual memory, which never releases, and in turn requires a periodic node re-start to free-up memory.

        1. non-mapped virtual memory.png
          non-mapped virtual memory.png
          66 kB
        2. Mongo_stats_masked.txt
          28 kB
        3. memory increase 2 - Fix.jpg
          memory increase 2 - Fix.jpg
          215 kB
        4. memory increase 1.jpg
          memory increase 1.jpg
          234 kB

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Sigfrido Narvaez [X]
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: