Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


systemMemorySize

Amount of system memory present (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static int systemMemorySize { get; }

Remarks

This is the approximate amount of system memory in megabytes.
WebGL: This function returns the current size of the WebAssembly heap. The heap size can increase at runtime if the Unity content memory usage exceeds the initial memory size. Windows Store Apps: This function is not supported on Windows Store Apps and will always return 0.
Additional Resources: SystemInfo.graphicsMemorySize.