https://pecl.php.net/package/memprof
Also it needs Judy which been added and then gone #2043 (closed)