Hey. I've just applied to patches to glibc introducing a new mallinfo2 function. Limitation of the current function mallinfo is usage of int type which overflows for allocation > 2GB. The patch adds configure detection and usage of the new one. And it prints heap usage in MiB. Ready to be installed after tests? Thanks, Martin