# ClearMemory

> Clears NativeArray<T> memory on allocation.

## Definition

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

```csharp
ClearMemory = 1
```
