When we serialize/deserialize symbols, we use a static dictionary (`__symbolTable` in `BsonSymbolTable`), that never gets cleared or garbage collected and this could lead to fill up the memory.
This is happening on both 3.x and 2.x
- is related to
-
CSHARP-6280 Memory-exhaustion denial of service via unbounded symbol interning during BSON/JSON deserialization (backport to main)
-
- Closed
-