Print summary info to stderr about the state of pymalloc's structures. In Py_DEBUG mode, also perform some expensive internal consistency checks.
The official docs include a CPython implementation detail for this entry.
sys/_debugmallocstats
_debugmallocstats