Native memory vs RealTime

Use this forum to read, ask or inform about memory issues in the .NET Framework and third party components.
Post Reply
Joined:Sun Apr 18, 2010 4:51 pm
Native memory vs RealTime

Post by Tarkul » Sun Apr 18, 2010 4:53 pm

Hey, I was just wandering why in the real time graph my program showed to have 20MB of live bytes, but the native memory tells me I have actually 400MB. If I open the task manager, it shows also 400MB. So what's the relation between the two?

Andreas Suurkuusk
Joined:Wed Mar 02, 2005 7:53 pm

Re: Native memory vs RealTime

Post by Andreas Suurkuusk » Wed Apr 21, 2010 1:57 am

Unless the unmanaged resources tracker is enabled, the real-time view only includes memory used managed instances. The native memory view and the Task manager includes all memory used by the application, both managed and native memory. If you enable the unmanaged resources tracker, you will also get information about tracked native memory like Virtual alloced memory and Win32 Heap memor (but the total memory usage will be presented as separate managed and native memory numbers).

You can read more about the native memory view and the different types of memory in the online documentation at You can read more about the unmanaged resources tracker at ... racker.htm.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests