Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-564

Memory leak in insert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Component/s: None
    • Labels:
    • Environment:
      Xubuntu Quantal 64 bit
      Python 3.2.3
      MongoDB v2.4.6

      Description

      When I insert a lot of records (a few millions) using pymongo python memory usage is constantly increasing.

      Simple script can demonstrate it:

      import pymongo

      client = pymongo.MongoClient("localhost")
      collection = client.test.test

      while True:
      collection.insert(

      {"nothing":"null"}

      )

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: