---
schema_version: "1"
id: 0148666487a7b76742eb7a4906bf12c9cde8b5ff3f04dd095ce9bf290ba9d7e5
title: HeapDump
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_heapdump.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_heapdump.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7ece6eb88be6f34dc1bf00a779c32520ff1838bd40de986e05ea5f096260325f
description: A complex type that represents a heap dump in an ApexExecutionOverlayResult object. Available from API version 28.0 or later.
---
# HeapDump

A complex type that represents a heap dump in an ApexExecutionOverlayResult object. Available from API version 28.0 or later.

## Fields

| Field | Details |
| --- | --- |
| className | 
Type

string

Description

The name of the Apex class or trigger.



 |
| extents | 

Type

array of TypeExtent

Description

TypeExtent includes the following fields:

- collectionType
- count
- definition (array of AttributeDefinition)
- extent (array of HeapAddress)
- totalSize
- typeName





 |
| heapDumpDate | 

Type

dateTime

Description

The date and time that the heap dump was captured.



 |
| namespace | 

Type

string

Description

The namespace of the Apex class or trigger. Null if there is no namespace.



 |

## Usage

Use heap dumps to capture structured debugging information.