Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTotalReservedMemory()

Returns the amount of reserved system memory.
Read time 1 minuteLast updated 6 days ago

Definition

Warning
Deprecated. GetTotalReservedMemory has been deprecated since it is limited to 4GB. Please use GetTotalReservedMemoryLong() instead.
public static uint GetTotalReservedMemory()

Returns

Type

Description

uint

Remarks

Unity requests the amount of memory that the game will use. Profiler.GetTotalReservedMemory is the full amount that Unity currently has. Part of this memory is used by the game using Profiler.GetTotalAllocatedMemory, and the remainer is stored and unused.