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

Memory leak in insert

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

      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"}

      )

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

              Created:
              Updated:
              Resolved: