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

Memory leak in insert

    XMLWordPrintableJSON

Details

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

            jesse@mongodb.com A. Jesse Jiryu Davis
            vonamgun Ruslan Nugmanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: