
mallocinfo.pl -- Memory allocation detailsThis library is provided if the clib package is compiled on a glibc based system, typically Linux. It provides access to the glibc ptmalloc informational functions for diagnosing memory usage. This library exports
mallinfo(-Info:dict) is detstruct mallinfo returned by
mallinfo() as a dict. See man mallinfo for an
explanation of the fields.
malloc_info(-Info:dict) is detmalloc_info(), which provides an XML document
describing the status of the GNU glibc malloc implementation.
The XML document is parsed and translated into a dict with a
similar structure. The malloc_info() XML is supposed to be
self-explanatory.