# MaxCapacity

> The maximum value allowed for each of the counts. Each count presizes an internal allocation, so this ceiling keeps the memory a single world can reserve up-front to a sane amount.

## Definition

* **Type:** Field
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public const int MaxCapacity = 65535
```
