# Create(FixedString32Bytes, FixedString64Bytes, Allocator)

> Creates a memory label with the specified area name, object name, and allocator.

## Definition

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

```csharp
public static MemoryLabel Create(FixedString32Bytes areaName, FixedString64Bytes objectName, Allocator allocator = Allocator.Persistent)
```

### Parameters

**** (\[FixedString32Bytes]\(/engine/7000.0/script-reference/unity/collections/fixedstring32bytes)): The name of the memory area.**** (\[FixedString64Bytes]\(/engine/7000.0/script-reference/unity/collections/fixedstring64bytes)): The name of the object being labeled.**** (\[Allocator]\(/engine/7000.0/script-reference/unity/collections/allocator)): The allocator to use. Defaults to [Allocator.Persistent](/engine/7000.0/script-reference/unity/collections/allocator/persistent.md). Only [Allocator.Persistent](/engine/7000.0/script-reference/unity/collections/allocator/persistent.md) and [Allocator.Domain](/engine/7000.0/script-reference/unity/collections/allocator/domain.md) support memory labeling.

### Returns

| Type                                                                            | Description               |
| ------------------------------------------------------------------------------- | ------------------------- |
| [MemoryLabel](/engine/7000.0/script-reference/unity/collections/memorylabel.md) | The created memory label. |

### Remarks

This method can be used in Burst-compiled code with names that are not compile-time string literals.

Attempting to create a memory label with empty strings for the area name or object name, or with an unsupported allocator, throws an exception.
