ドキュメント

Unity Engine

Unity Engine

GetTotalAllocatedMemory()

Returns the amount of allocated and used system memory.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Deprecated. GetTotalAllocatedMemory has been deprecated since it is limited to 4GB. Please use GetTotalAllocatedMemoryLong() instead.
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.