# ClearMemory

> Clears NativeArray<T> memory on allocation.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Collections](/engine/6000.0/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
ClearMemory = 1
```
