# Dispose()

> Deallocates the memory represented by this range.

## Definition

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

```csharp
public void Dispose()
```

### Remarks

Same as disposing the [AllocatorManager.Block](/engine/6000.7/script-reference/unity/collections/allocatormanager/block.md) which contains this range.

Cannot be used with allocators which need the allocation size to deallocate.
