Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-574

`collection.insert_many` won't release memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Description

      The following code first inserting 30000 documents using insert_many, then drop the collection and the client. After dropped everything, the memory usage is over 200MB.

      Reproduce code:

      gist

        Attachments

          Activity

            People

            Assignee:
            sam.rossi Samuel Rossi (Inactive)
            Reporter:
            admin@pegasis.site JianQing Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: