Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-304

A large of Insertions maybe catch memory leak.

    XMLWordPrintableJSON

Details

    Description

      When I use cxx driver to insert a large of documents, the memory of program is growing fast until 2GB. Then the program crashed.
      I just test the insert function. When I get rid of the insertion code, the program run normally.
      Has the insert function any memory leak problem?
      ie: like this:
      while(1) m.insert("testdata", BSON("testdata" << 123));

      Attachments

        Activity

          People

            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            jebin jebin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: