Memory class to properly get accurate memory counts for the program.

Static methods

@:native("getCurrentRSS")staticgetCurrentUsage():SizeT

Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

@:native("getPeakRSS")staticgetPeakUsage():SizeT

Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.