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

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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.9
    • Component/s: Aggregation Framework
    • Labels:
      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. memory increase 1.jpg
          memory increase 1.jpg
          234 kB
        2. memory increase 2 - Fix.jpg
          memory increase 2 - Fix.jpg
          215 kB
        3. Mongo_stats_masked.txt
          28 kB
        4. non-mapped virtual memory.png
          non-mapped virtual memory.png
          66 kB

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

              Created:
              Updated:
              Resolved: