The GNU libc function malloc_info(3) provides memory allocation and usage statistics of Icinga 2 itself.