Closed chinchilla-forest closed 1 year ago
when i use tcmalloc to run this code ,it print nothing。 malloc_info(0, stdout);` So how to get memory info in tcmalloc like malloc_info?
malloc_info(0,
my code is in centos7 system,but the gcc version is 11(use redhat’s devtool11)
i think this doc is useful https://github.com/google/tcmalloc/blob/master/docs/stats.md
when i use tcmalloc to run this code ,it print nothing。
malloc_info(0,
stdout);` So how to get memory info in tcmalloc like malloc_info?my code is in centos7 system,but the gcc version is 11(use redhat’s devtool11)