GetTotalReservedMemory()
Returns the amount of reserved system memory.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Profiling
- Assembly: UnityEngine.CoreModule
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.
Additional Resources: Profiler.GetTotalAllocatedMemory, Profiler.GetTotalUnusedReservedMemory.