Memory leak in the MongoDB .NET driver.
My setup is 6 shards/2 servers per RS. Overloaded servers, lot of transport exceptions (might be related to the leak).
Eventually results in an "Out of memory" exception to be thrown (VERY fast in the real application, with objects up to 16MB).
I was able to reproduce the issue using the attached test solution (except it occurs much slower than in the real app, because objects are much smaller).
I'm not sure if the unreliable MongoDB servers are the cause of the memory leak or not.
I can't post the Ants Profiler results, because it could contain sensitive information (connection strings, etc.)