Tools that are related to memory. Including garbage collection, and memory usage, and hardware info.
DISCLAIMER: Hardware info is only available on Native platforms.
Static variables
Static methods
View on GitHub
staticinlinecurrentMemUsage():Float
Gets the current memory usage of the app. DISCLAIMER: This gets the memory usage that is taken up by Haxe, not the actual memory usage of the app.
View on GitHub
staticdisable():Void
Disables garbage collection. Fyi: doesn't fully disable garbage collection, but prevents it from running as much.
View on GitHub
staticgetMemType():String
Gets the memory type of the system. Output depends on the platform, and hardware.
View on GitHub
staticgetTotalMem():Float
Gets the total memory of the system. Output depends on the hardware.