Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-432

Memory leak every ~100 connections

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

      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 Adam Midvidy
            Reporter:
            ech0s7r ech0s7r
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: