getMemoryStat
Syntax
getMemoryStat()
Arguments
None
Details
Return the allocated memory and the unused memory. It returns a dictionary with the
following keys:
-
freeBytes: the allocated memory (in Bytes) for the current node.
-
allocatedBytes: the unused memory (in Bytes) for the current node.
Examples
getMemoryStat();
// output
freeBytes->6430128
allocatedBytes->35463168