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

$near cursor stores buffered data in memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.2.3
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: