Understanding the HEAP LEDATA output

The Language Environment IPCS VERBEXIT LEDATA generates a detailed heap segment report when the HEAP option is used with the DETAIL option, or when the SM,DETAIL option is specified. The detailed heap segment report is useful when trying to pinpoint damage because it provides very specific information. The report describes the nature of the damage, and specifies where the actual damage occurred. The report can also be used to diagnose storage leaks, and to identify heap fragmentation. The following example illustrates the output produced by specifying the HEAP option. Heap report sections of the LEDATA output describes the information contained in the formatted output. For easy reference, the sections of the dump are numbered to correspond with the description of each section that follows in Table 1. Ellipses are used to summarize some sections of the dump.

Note: Language Environment® does not provide support for alternative Vendor Heap Manager (VHM) data. LEDATA verb exit will state that an alternative VHM is in use.
IP VERBEXIT LEDATA 'HEAP'
********************************************************************************
                           LANGUAGE ENVIRONMENT DATA
 ********************************************************************************
 Language Environment Productt 04 V01 R02.00

 Heap Storage Control Blocks

     ENSM:  00014D30
   +0000A8  ENSM_ADDL_HEAPS:259B1120

   User Heap Control Blocks

     HPCB:  00014D48
   +000000  EYE_CATCHER:HPCB  FIRST:25995000    LAST:25995000

     HANC:  25995000
   +000000  EYE_CATCHER:HANC  NEXT:00014D48     PREV:00014D48
   +00000C  HEAPID:00000000   SEG_ADDR:25995000       ROOT_ADDR:259950B0
   +000018  SEG_LEN:00008000        ROOT_LEN:00007F50

   This is the last heap segment in the current heap.

[1]Free Storage Tree for Heap Segment 25995000

          Node      Node     Parent     Left      Right     Left     Right
 Depth  Address    Length     Node      Node      Node     Length    Length
     0  259950B0  00007F50  00000000  00000000  00000000  00000000  00000000

[2]Map of Heap Segment 25995000

 To display entire segment: IP LIST 25995000 LEN(X'00008000') ASID(X'0021')

 25995020: Allocated storage element, length=00000038. To display: IP LIST 25995020 LEN(X'00000038') ASID(X'0021')
 25995028: C3C4D3D3 00000000 40000000 00000000  24700F98 24703F70 25993870 00000490 │CDLL.... ..........q.....r......│

 25995058: Allocated storage element, length=00000038. To display: IP LIST 25995058 LEN(X'00000038') ASID(X'0021')
 25995060: C3C4D3D3 25995028 80000000 00000000  247006F0 24700770 2471CEB0 00000150 │CDLL.r&............0...........&│

 25995090: Allocated storage element, length=00000010. To display: IP LIST 25995090 LEN(X'00000010') ASID(X'0021')
 25995098: 259ADBB8 00000000                                                        │........                        │

 259950A0: Allocated storage element, length=00000010. To display: IP LIST 259950A0 LEN(X'00000010') ASID(X'0021')
 259950A8: 259ADBE0 00000000                                                        │........                        │

 259950B0: Free storage element, length=00007F50. To display: IP LIST 259950B0 LEN(X'00007F50') ASID(X'0021')

 Summary of analysis for Heap Segment 25995000:

    Amounts of identified storage:  Free:00007F50  Allocated:00000090  Total:00007FE0
    Number of identified areas   :  Free:       1  Allocated:       4  Total:       5
    00000000 bytes of storage were not accounted for.
    No errors were found while processing this heap segment.
    This is the last heap segment in the current heap.


 Anywhere Heap Control Blocks

     HPCB:  00014D78
   +000000  EYE_CATCHER:HPCB  FIRST:24A91000    LAST:259C2000

     HANC:  24A91000
   +000000  EYE_CATCHER:HANC  NEXT:25993000     PREV:00014D78
   +00000C  HEAPID:00014D78   SEG_ADDR:24A91000       ROOT_ADDR:00000000
   +000018  SEG_LEN:00F00028        ROOT_LEN:00000000

   Free Storage Tree for Heap Segment 24A91000

       The free storage tree is empty.

 
   Map of Heap Segment 24A91000

 To display entire segment: IP LIST 24A91000 LEN(X'00F00028') ASID(X'0021')

 24A91020: Allocated storage element, length=00F00008. To display: IP LIST 24A91020 LEN(X'00F00008') ASID(X'0021')
 24A91028: B035F6D8 B2C00081 24ABED80 00000000  03000000 00000001 94818995 40404040 │..6Q...a................main    │

Summary of analysis for Heap Segment 24A91000:
    Amounts of identified storage:  Free:00000000  Allocated:00F00008  Total:00F00008
    Number of identified areas   :  Free:       0  Allocated:       1  Total:       1
    00000000 bytes of storage were not accounted for.
    No errors were found while processing this heap segment.
⋮

     HANC:  259AC000
   +000000  EYE_CATCHER:HANC  NEXT:259AF000     PREV:2599D000
   +00000C  HEAPID:00014D78   SEG_ADDR:259AC000       ROOT_ADDR:259AC020
   +000018  SEG_LEN:00002000        ROOT_LEN:00000C30

   Free Storage Tree for Heap Segment 259AC000

          Node      Node     Parent     Left      Right     Left     Right
 Depth  Address    Length     Node      Node      Node     Length    Length
     0  259AC020  00000C30  00000000  00000000  259ADC48  00000000  000003B8
     1  259ADC48  000003B8  259AC020  00000000  00000000  00000000  00000000

   Map of Heap Segment 259AC000

 To display entire segment: IP LIST 259AC000 LEN(X'00002000') ASID(X'0021')

 259AC020: Free storage element, length=00000C30. To display: IP LIST 259AC020 LEN(X'00000C30') ASID(X'0021')

 259ACC50: Allocated storage element, length=00000728. To display: IP LIST 259ACC50 LEN(X'00000728') ASID(X'0021')
 259ACC58: D3D3E340 071C0001 00000000 00000000  00000000 00000003 00000040 20010003 │LLT ....................... ....│

 259AD378: Allocated storage element, length=00000080. To display: IP LIST 259AD378 LEN(X'00000080') ASID(X'0021')
 259AD380: 00000000 00000000 247006F0 247006F0  000008A8 2471CEB0 00000000 00000001 │...........0...0...y............│

 259AD3F8: Allocated storage element, length=00000068. To display: IP LIST 259AD3F8 LEN(X'00000068') ASID(X'0021')
 259AD400: C5E3C3E2 00000007 00000000 25993870  A4797478 247971E0 25993870 A4797478 │ETCS.........r..u........r..u...│

 259AD460: Allocated storage element, length=00000728. To display: IP LIST 259AD460 LEN(X'00000728') ASID(X'0021')
 259AD468: C3D3D3E3 071C0001 00000000 00000000  00000000 00000001 00000040 60010005 │CLLT....................... -...│

 259ADB88: Allocated storage element, length=00000028. To display: IP LIST 259ADB88 LEN(X'00000028') ASID(X'0021')
 259ADB90: 180F58FF 001007FF 24700AB8 2471CEB0  2479A6E8 FFFFFFFE 247006F0 259AD380 │..................wY.......0..L.│

 259ADBB0: Allocated storage element, length=00000028. To display: IP LIST 259ADBB0 LEN(X'00000028') ASID(X'0021')
 259ADBB8: 00000000 25995098 70004000 00000000  00000000 00000000 00000000 00000000 │.....r.&q.......................│

 259ADBD8: Allocated storage element, length=00000028. To display: IP LIST 259ADBD8 LEN(X'00000028') ASID(X'0021')
 259ADBE0: 00000000 259950A8 70004000 00000000  00000000 00000000 00000000 00000000 │.....r.&y.......................│

 259ADC00: Allocated storage element, length=00000048. To display: IP LIST 259ADC00 LEN(X'00000048') ASID(X'0021')
 259ADC08: C1C4C8D7 F0F00000 259ADC14 C8D7C3C2  259AE000 259AE000 00001000 00001000 │ADHP00......HPCB................│

 259ADC48: Free storage element, length=000003B8. To display: IP LIST 259ADC48 LEN(X'000003B8') ASID(X'0021')

 Summary of analysis for Heap Segment 259AC000:
    Amounts of identified storage:  Free:00000FE8  Allocated:00000FF8  Total:00001FE0
    Number of identified areas   :  Free:       2  Allocated:       8  Total:      10
    00000000 bytes of storage were not accounted for.
    No errors were found while processing this heap segment.
⋮
 
   Below Heap Control Blocks

     HPCB:  00014DA8
   +000000  EYE_CATCHER:HPCB  FIRST:00044000    LAST:00044000

     HANC:  00044000
   +000000  EYE_CATCHER:HANC  NEXT:00014DA8     PREV:00014DA8
   +00000C  HEAPID:00014DA8   SEG_ADDR:80044000       ROOT_ADDR:00044388
   +000018  SEG_LEN:00002000        ROOT_LEN:00001C78

   This is the last heap segment in the current heap.

   Free Storage Tree for Heap Segment 00044000

          Node      Node     Parent     Left      Right     Left     Right
 Depth  Address    Length     Node      Node      Node     Length    Length

     0  00044388  00001C78  00000000  00000000  00000000  00000000  00000000

   Map of Heap Segment 00044000

 To display entire segment: IP LIST 00044000 LEN(X'00002000') ASID(X'0021')

 00044020: Allocated storage element, length=00000048. To display: IP LIST 00044020 LEN(X'00000048') ASID(X'0021')
 00044028: C8C4D3E2 00000000 00044220 00000040  00010000 00000001 000241E0 24701038 │HDLS........... ................│

 00044068: Allocated storage element, length=00000128. To display: IP LIST 00044068 LEN(X'00000128') ASID(X'0021')
 00044070: 07000700 05E0900F E0A641DE 002258C0  E11258F0 E1160B0F E2C6E7D4 01200001 │.........w.........0....SFXM....│

 00044190: Allocated storage element, length=00000088. To display: IP LIST 00044190 LEN(X'00000088') ASID(X'0021')
 00044198: C3E2E3D2 00000000 00000000 00800001  00000001 00000068 04000000 00000000 │CSTK............................│

 00044218: Allocated storage element, length=00000048. To display: IP LIST 00044218 LEN(X'00000048') ASID(X'0021')
 00044220: C8C4D3E2 00044028 00000000 00000040  00010000 00000002 000241E0 259ADB90 │HDLS.. ........ ................│

 00044260: Allocated storage element, length=00000128. To display: IP LIST 00044260 LEN(X'00000128') ASID(X'0021')
 00044268: 07000700 05E0900F E0A641DE 002258C0  E11258F0 E1160B0F E2C6E7D4 01200001 │.........w.........0....SFXM....│

 00044388: Free storage element, length=00001C78. To display: IP LIST 00044388 LEN(X'00001C78') ASID(X'0021')

 Summary of analysis for Heap Segment 00044000:
    Amounts of identified storage:  Free:00001C78  Allocated:00000368  Total:00001FE0
    Number of identified areas   :  Free:       1  Allocated:       5  Total:       6
    00000000 bytes of storage were not accounted for.
    No errors were found while processing this heap segment.
    This is the last heap segment in the current heap.

   Additional Heap Control Blocks

     ADHP:  259B1120
   +000000  EYE_CATCHER:ADHP  NEXT:259B24A8     HEAPID:259B112C

     HPCB:  259B112C
   +000000  EYE_CATCHER:hpcb  FIRST:259B112C    LAST:259B112C

     ADHP:  259B24A8
   +000000  EYE_CATCHER:ADHP  NEXT:259ADC08     HEAPID:259B24B4

     HPCB:  259B24B4
   +000000  EYE_CATCHER:hpcb  FIRST:259B24B4    LAST:259B24B4

     ADHP:  259ADC08
   +000000  EYE_CATCHER:ADHP  NEXT:F0F00000     HEAPID:259ADC14

     HPCB:  259ADC14
   +000000  EYE_CATCHER:HPCB  FIRST:259AE000    LAST:259AE000

     HANC:  259AE000
   +000000  EYE_CATCHER:HANC  NEXT:259ADC14     PREV:259ADC14
   +00000C  HEAPID:259ADC14   SEG_ADDR:259AE000       ROOT_ADDR:259AE1E8
   +000018  SEG_LEN:00001000        ROOT_LEN:00000E18
 
   This is the last heap segment in the current heap.

   Free Storage Tree for Heap Segment 259AE000

          Node      Node     Parent     Left      Right     Left     Right
 Depth  Address    Length     Node      Node      Node     Length    Length
     0  259AE1E8  00000E18  00000000  00000000  00000000  00000000  00000000

   Map of Heap Segment 259AE000

 To display entire segment: IP LIST 259AE000 LEN(X'00001000') ASID(X'0021')

 259AE020: Allocated storage element, length=000001C8. To display: IP LIST 259AE020 LEN(X'000001C8') ASID(X'0021')
 259AE028: D7C3C9C2 00000000 00000000 000101BC  00000000 00000000 00000000 00000000 │PCIB............................│

 259AE1E8: Free storage element, length=00000E18. To display: IP LIST 259AE1E8 LEN(X'00000E18') ASID(X'0021')

 Summary of analysis for Heap Segment 259AE000:
    Amounts of identified storage:  Free:00000E18  Allocated:000001C8  Total:00000FE0
    Number of identified areas   :  Free:       1  Allocated:       1  Total:       2
    00000000 bytes of storage were not accounted for.
    No errors were found while processing this heap segment.
    This is the last heap segment in the current heap.

Exiting Language Environment Data