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 .

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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. mongo-1.png
          mongo-1.png
          163 kB
        2. mongodb-1.png
          mongodb-1.png
          100 kB

            Assignee:
            James Kovacs
            Reporter:
            bhagwan das Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: