Memory leak every ~100 connections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 1.0.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS X 10.9.4 and Linux
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have slightly modified the example-client.c, in order to make repeated connections to the mongoDB and i found this two major problems:

      1) a memory leak of 4kb every ~100 connection

      I am very concerned about the problem number 1, because the process begins with a memory usage of about 800kb and after just seconds, get over 2MB!

      In the attached file example-client.c changed.

      Thanks

              Assignee:
              Adam Midvidy (Inactive)
              Reporter:
              ech0s7r
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: