# MemorySnapshot

> MemorySnapshot is a profiling tool to help diagnose memory usage.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.MemoryProfiler](/engine/6000.6/script-reference/unityeditor/memoryprofiler.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** Use Unity.Profiling.Memory.MemoryProfiler instead

```csharp
public static class MemorySnapshot
```

## Remarks

MemorySnapshot, and all types in UnityEditor.MemoryProfiler.\* are very experimental API, and will very likely change significantly going forward. Currently only il2cpp-based players are able to provide memory snapshots.  The editor, and mono-based players will not respond to requests for new snapshots.
