# GetTempAllocatorSize()

> Returns the size of the temp allocator.

## Definition

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

```csharp
public static uint GetTempAllocatorSize()
```

### Returns

| Type                                                         | Description    |
| ------------------------------------------------------------ | -------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | Size in bytes. |

### Remarks

Size of Unity's stack-based runtime allocator used for temporary allocations.
