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

$near cursor stores buffered data in memory

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.3
    • 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.

    Description

      Original summary

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

      Original Description

      resident memory of mongod continually increase when query

      Attachments

        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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: