GetTotalAllocatedMemory()
Returns the amount of allocated and used system memory.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Profiling
- Assembly: UnityEngine.CoreModule
public static uint GetTotalAllocatedMemory()
Returns
Type | Description |
|---|---|
| uint |
Remarks
The game uses the amount of memory returned by Profiler.GetTotalAllocatedMemory. As GameObjects are instantiated and other GameObjects loaded or created, the value returned increases, showing that more memory is being used.
Additional Resources: Profiler.GetTotalUnusedReservedMemory, Profiler.GetTotalReservedMemory.