Unmanaged memory is huge but breakdown only shows small fraction of it
Hi, I am trying to debug our application to see why it's using so much memory and becoming unusable.
The problem seems to be that there's a very large amount of unmanaged memory, but I can't figure out where the bulk of it is coming from.
This image should give a good summary of the problem I'm having:
So there is 2.951 GB of unmanaged memory in the pie chart, yet the breakdown only comes in at ~348MB
I can explain some of this, because we have some managed C++ code that creates a few memory pools at the beginning of the application, but this will only account for 952MB
So there is 952MB for our custom memory pools, ~348MB from the unmanaged breakdown, which totals 1300MB, still a huge amount away from the 2.95GB shown in the pie chart.
Is there a way I can find out where this memory is being allocated?
0 · Share on Twitter