Memory class to properly get accurate memory counts for the program.
Static methods
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.
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.