Page 1 of 1

Native memory vs RealTime

Posted: Sun Apr 18, 2010 4:53 pm
by Tarkul
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?

Re: Native memory vs RealTime

Posted: Wed Apr 21, 2010 1:57 am
by Andreas Suurkuusk
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 http://memprofiler.com/OnlineDocs/memoryview.htm. You can read more about the unmanaged resources tracker at http://memprofiler.com/OnlineDocs/unman ... racker.htm.