Kernel Heap Memory

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
tony8784
Posts: 3
Joined: Thu Aug 04, 2016 1:38 pm

Kernel Heap Memory

Post by tony8784 » Thu Aug 04, 2016 1:43 pm

Hi,

My application memory becomes very high and I was looking for a good profiler to troubleshoot it.
I downloaded the profiler in order to evaluate it but I cannot use it because there is no detailed documentation.
I take two snapshots and I can see that under Native Memory tab under Identified resources I have

1st Snapshot
Kernel-VirtualMemory is 14,030
Kernel-HeapMemory is 5.046KB

2nd Snapshot
Kernel-VirtualMemory is 51.124KB
Kernel-HeapMemory is 187,547KB

What are these?

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

Re: Kernel Heap Memory

Post by Andreas Suurkuusk » Thu Aug 04, 2016 7:31 pm

Kernel-VirtualMemory is memory allocated using the VirtualAlloc function and Kernel-HeapMemory is memory allocated using the HeapAlloc function. If you enable the unmanaged resources tracker, you will get more detailed information about why this memory is allocated.

The documentation for the profiler is available from the Help menu of the standalone profiler. It is also available online at http://memprofiler.com/onlinedocs/.

To get more information about the unmanaged resource tracker, see http://memprofiler.com/onlinedocs/unman ... racker.htm.

We will try to add some more information about the different types of unmanaged resources to the documentation.
Best regards,

Andreas Suurkuusk
SciTech Software AB

tony8784
Posts: 3
Joined: Thu Aug 04, 2016 1:38 pm

Re: Kernel Heap Memory

Post by tony8784 » Thu Aug 04, 2016 7:42 pm

thanks,

how do I enable unmanaged resources tracker? been searching but cannot find it.

tony8784
Posts: 3
Joined: Thu Aug 04, 2016 1:38 pm

Re: Kernel Heap Memory

Post by tony8784 » Thu Aug 04, 2016 9:39 pm

OK found it.
It is under Tools => Options => Default Settings => General

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests