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

$near cursor stores buffered data in memory

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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
    • 0
    • 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
        2. query.js
          0.2 kB
        3. query2.js
          0.1 kB
        4. serverStatus
          17 kB
        5. userData.ar
          27.95 MB

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            zyd_com@126.com Zhang Youdong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: