Native memory vs RealTime

Use this forum to read, ask or inform about memory issues in the .NET Framework and third party components.

Moderator: SciTech Software

Native memory vs RealTime

Postby 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?
Tarkul
 
Posts: 1
Joined: Sun Apr 18, 2010 4:51 pm

Re: Native memory vs RealTime

Postby 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 http://memprofiler.com/OnlineDocs/memoryview.htm. You can read more about the unmanaged resources tracker at http://memprofiler.com/OnlineDocs/unmanagedresourcestracker.htm.
Best regards,

Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
 
Posts: 957
Joined: Wed Mar 02, 2005 7:53 pm
Location: Sweden


Return to Known Memory Issues

Who is online

Users browsing this forum: No registered users and 1 guest

SciTech Software logo

© Copyright 2001-2016. SciTech Software AB
All rights reserved.


SciTech Software AB
Kartvägen 21
SE-175 46 Järfälla
Sweden


E-mail: mail@scitech.se

Telephone: +46-706868081

cron