Version: 5.4

Profiler.GetMonoHeapSize

Switch to Manual
public static uint GetMonoHeapSize ();

Description

Returns the size of the mono heap.

This is the reserved system memory that Mono is using for allocations.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { }