Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


systemMemorySize

Amount of system memory present (Read Only).
Read time 1 minuteLast updated 4 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 will return the current size of the asm.js/WebAssembly heap. Note that when using WebAssembly, the heap size can increase at run-time 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.