Skip to main content
Returns an object containing information about memory usage. This method will use 10 Compute Units.

Reference: Here

Parameters

mode - string, optional, default=”stats” determines what kind of information is returned.
  • “stats” returns general statistics about memory usage in the daemon.
  • “mallocinfo” returns an XML string describing low-level heap state (only available if compiled with glibc 2.10+).

Returns (mode “stats”)

Returns (mode “mallocinfo”)