# NativeAllocationEntries

> A class that houses native allocation entry data, returned by nativeAllocations.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Profiling.Memory.Experimental](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public class NativeAllocationEntries
```

## Properties

| Property                                                                                                                                    | Description                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [address](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/address.md)                     | An array that contains addresses of native memory allocations.                                                                                                                                                                  |
| [allocationSiteId](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/allocationsiteid.md)   | The allocation site id of the allocation, used by [NativeAllocationSiteEntries.id](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationsiteentries/id.md).                                |
| [memoryRegionIndex](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/memoryregionindex.md) | An array of indexes that indicate which memory region, beginning region, inside region, or end region, that the memory allocation represents.                                                                                   |
| [overheadSize](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/overheadsize.md)           | An array that specifies, in bytes, how much of the memory in the returned native allocation is not part of your request. The overhead memory is used for allocation headers and other metadata describing the allocation.       |
| [paddingSize](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/paddingsize.md)             | An array specifying, in bytes, the amount of padding used to align the returned native allocation.                                                                                                                              |
| [rootReferenceId](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/rootreferenceid.md)     | An array of root reference IDs for the allocation. Corresponds to entries in [NativeRootReferenceEntries.id](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativerootreferenceentries/id.md) array. |
| [size](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/size.md)                           | An array containing the total size, in bytes, of the native allocation.                                                                                                                                                         |

## Methods

| Method                                                                                                                              | Description                         |
| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [GetNumEntries](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/nativeallocationentries/getnumentries.md) | Gets the number allocation entries. |
