I Have an application using mongodb,for data storage,
but when request in my application grow,application memory grow too,and when load going down memory not released , i going to check application with memory profiler application(ANTS
memory profiler) when check the result i saw Bson.IO.Bytebuffer instance get the all memory
iam using replica set with three server,.net application,and one static instance for mongo client
for all thread,
my connection settings in application
var mongoSetting = new MongoClientSettings()
{
MaxConnectionPoolSize = 7500,
Servers = mongoServerAddress,
ConnectionMode = ConnectionMode.ReplicaSet,
ReplicaSetName = "switch",
ClusterConfigurator = builder =>
,
};
- related to
-
CSHARP-1110 Make RawBsonDocument.dispose() an no-op
-
- Backlog
-