# usedHeapSize

> Heap size used by the program.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Profiling](/engine/6000.5/script-reference/unityengine/profiling.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** usedHeapSize has been deprecated since it is limited to 4GB. Please use usedHeapSizeLong instead.

```csharp
public static uint usedHeapSize { get; }
```
