Windows DatabaseebooksStatistical Information

LWE10301 : Installing dheapmon for looking at your desktop heap

Symptom:

You need to install the dheapmon tool to view the desktop heap size on the system.

Cause:

none

Solution:

You need to download the tool from the microsoft website. The tool has to be entpacked and needs to be installed in a special way. (it need the debugging symbols for the installation)


The installation from the commandline:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

F:\>"C:\Software\Desktop Heap Monitor\kktools\dheapmon8.1\x86\dheapmon.exe"
  Dheapmon - Software is not installed or Driver is not running (1012)

F:\>"C:\Software\Desktop Heap Monitor\kktools\dheapmon8.1\x86\dheapinst.exe"
  dheapinst - Win32k.sys symbol load error, Correct symbol required

F:\>"C:\Software\Desktop Heap Monitor\kktools\dheapmon8.1\x86\dheapinst.exe" -y
c:\Symbols
  dheapinst - Win32k.sys symbol load error, Correct symbol required

F:\>"C:\Software\Desktop Heap Monitor\kktools\dheapmon8.1\x86\dheapinst.exe" -y
srv*http://msdl.microsoft.com/download/symbols
  dheapinst - Desktop Heap Monitor installed successfully

F:\>"C:\Software\Desktop Heap Monitor\kktools\dheapmon8.1\x86\dheapmon.exe"
Desktop Heap Information Monitor Tool (Version 8.1.2925.0)
Copyright (c) Microsoft Corporation.  All rights reserved.
  Dheapmon - Software is not installed or Driver is not running (2)


To load the driver you need to do it -l

Dheapmon -l

now you loaded the driver and can use the tool:

C:\WINDOWS\system32\kktools>dheapmon.exe
Desktop Heap Information Monitor Tool (Version 8.1.2925.0)
Copyright (c) Microsoft Corporation.  All rights reserved.
-------------------------------------------------------------
  Session ID:    0 Total Desktop: (  5824 KB -    8 desktops)

  WinStation\Desktop            Heap Size(KB)    Used Rate(%)
-------------------------------------------------------------
  WinSta0\Default                    3072             15.3
  WinSta0\Disconnect                   64              4.5
  WinSta0\Winlogon                    128              9.2
  Service-0x0-3e7$\Default            512             27.5
  Service-0x0-3e4$\Default            512              6.8
  Service-0x0-3e5$\Default            512              6.8
  SAWinSta\SADesktop                  512              0.5
  Service-0x0-fea2$\Default           512              1.1
-------------------------------------------------------------

C:\WINDOWS\system32\kktools>

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics