# size

> Size in bytes of this object.

## Definition

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

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public int size { get; }
```
