get_memory_data() -> {Total,Allocated,Worst}
Types
Total = Allocated = int()Worst = {Pid, PidAllocated} | undefinedPid = pid()PidAllocated = int()Returns the result of the latest memory check, where Total is the total memory size and Allocated the allocated memory size, in bytes.
Worst is the pid and number of allocated bytes of the largest Erlang process on the node. If memsup should not collect process data, that is if the configuration parameter memsup_system_only was set to true, Worst is undefined.
The function is normally asynchronous in the sense that it does not invoke a memory check, but returns the latest available value. The one exception if is the function is called before a first memory check is finished, in which case it does not return a value until the memory check is finished.
Returns {0,0,{pid(),0}} or {0,0,undefined} if memsup is not available, or if all memory checks so far have timed out.