Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4299

Mongodb Csharp Driver 2.13 -Service Monitor memory leak -holding up the execution context leading to huge amount of System.security.claim objects in memory even after GC collection -They finally lands up to gen 2 .

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Summary

      Driver ver 2.13 -DotMemory profiler shows memory leak -large number of system.security.claim object .

      How to Reproduce

      Servicemonitor holds up to the executionContext and it internally refers the security claims object .After the garbage collection , the claims object lives in to the memory heap -gen2 .

      Application does not create mongo client in signleton mode , instead per request mode.

      Additional Background

      Attached 

        1. mongodb-1.png
          mongodb-1.png
          100 kB
        2. mongo-1.png
          mongo-1.png
          163 kB

            Assignee:
            james.kovacs@mongodb.com James Kovacs
            Reporter:
            engr.bhagwandas@gmail.com bhagwan das Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: