What are the challenges you face when working across database platforms? Take the survey

Problem with unmanaged Memory

b.hemmerb.hemmer Posts: 5
edited December 2, 2014 6:26AM in ANTS Memory Profiler 8

we have a Problem with unmanaged Memory in our .NET Application. So we did some tests with the ants memory profiler. To put it in a nutshell, we took a snapshot after the startup of the application and before wie closed the application. These are the results in summary:

First Snapshot:
  1. Managed Memory: 129 MB
  2. Unused Memory 33 MB
  3. Unmanaged Memory 265 MB

Last Snapshot
  1. Managed Memory: 122 MB
  2. Unused Memory 40 MB
  3. Unmanaged Memory 324 MB

Cause of this result we decided to have a look on the memory usage breakdown by unmanaged modules. Every Module used the approximatly the same amount of memory on the first and the last snapshot. The only exception is the user32 module which used 4 MB more. But this does not explain the difference of 60 MB unmanaged memory from the first to the last snapshot. Is it possible that we have a problem with the stack memory and do you know how to analyze this problem with the ants memory profiler?

with best regards
bernd hemmer
Sign In or Register to comment.