How to Check In a User Dump that Full Page Heap was Enabled

How to Check In a User Dump that Full Page Heap was Enabled

book

Article ID: CTX105955

calendar_today

Updated On:

Description

This article provides information on how to check in a user dump that Full Page Heap was enabled.

Background

Technical Support might ask customers to enable full page heap on specific Citrix executable files such as ImaSrv.exe to troubleshoot heap corruption issues.
Technical Support needs to check if the received user dump is generated by enabling full page heap.


Instructions

 Complete the following steps  to check in a user dump that Full Page Heap was enabled:

  1. Open WinDbg.

  2. Verify that File\Symbol file Path dialog contains the path to Microsoft Symbol Server:
    srv*c:\symdownstream*http://msdl.microsoft.com/download/symbols

  3. Open the dump and execute the following command:
    !gflag

  4. Check the output:
0:001> !gflag

     Current NtGlobalFlag contents: 0x02000000
         hpa - Place heap allocations at ends of pages
“0x02000000” shows that GlobalFlags are enabled and full page heap is enabled in the dump.

“0x00000000” indicates that GlobalFlags are not enabled.

    Issue/Introduction

    This article provides information on how to check in a user dump that Full Page Heap was enabled.