Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,
I would like to share with you the following stranged issue:

How is it possible to have memory leakage just by creating and releasing an instance to an empty automation class ?
What is the magic behind ?  Is there a leakage between managed and unmanaged inter-connection ?


Thank you very much in advance.
Best regards.
MiQi.

What I have tried:

Here is the test app package to test on your end:
Sample program package.
(I am using Visual Studio Pro 2015)
Posted
Updated 25-Aug-16 4:12am
v3

1 solution

Probably because you're looking in Task Manager for memory usage of a .NET app. Don't. It's lying to you.

Task Manager shows how much memory is RESERVED for your app, not how much it's actually using.

For better memory statistics, use PerfMon and the .NET Memory counters or a dedicated .NET memory profiling tool.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900