Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Profiler.GetTotalUnusedReservedMemory

public static uint GetTotalUnusedReservedMemory();

Description

Returns the amount of reserved but not used system memory.

Unity assumes that the game will use more memory. The value of GetTotalUnusedReservedMemory reports the total amount of memory currently available.