Large size of BsonChunkPool

I use Mongodb 3.6 + .net driver (MongoDb.Driver 2.10) to manage our data. Recenyly, we’ve noticed that our services (background) consume a lot of memory. After anaylyzing a dump, it turned out that there’s a mongo object called BsonChunkPool that always consumes around 0.5 GB of memory. Is it normal ? I cannot really find any valuable documentation about this type, and what it actually does. Can anyone help ?

Hi @Maciej_Pakulski, and welcome to the forum!

BsonChunkPool exists to manage the recycle of memory buffers (chunks) to ease the amount of work the garbage collector has to do. Please see the comment on CSHARP-3054 for more information.

Best regards,

1 Like