$near cursor stores buffered data in memory

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.3
    • Component/s: Querying
    • None
    • ALL
    • Hide

      1. import data

      mongorestore --host ip:port -d testdb -c userData --gzip --archive=userData.ar
      

      2. start query

      mongo --host ip:port query.js
      

      use mongostat to watch the process, the resident meomry will increase continully until OOM.

      Show
      1. import data mongorestore --host ip:port -d testdb -c userData --gzip --archive=userData.ar 2. start query mongo --host ip:port query.js use mongostat to watch the process, the resident meomry will increase continully until OOM.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Original summary

      2d query makes mongod memory usage increase continually, maybe memory leak

      Original Description

      resident memory of mongod continually increase when query

        1. mongostat
          5 kB
          zyd_com
        2. query.js
          0.2 kB
          zyd_com
        3. query2.js
          0.1 kB
          zyd_com
        4. serverStatus
          17 kB
          zyd_com
        5. userData.ar
          27.95 MB
          zyd_com

              Assignee:
              Kelsey Schubert
              Reporter:
              Zhang Youdong
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: