Can't get profile

Jurģis Orups jurgis at
Wed Sep 9 07:29:21 PDT 2015

I’m trying to get heap profile but can’t get it.
I've compiled 4.0.0 version with —enable-prof, linked (dynamically) to my test program and called with "MALLOC_CONF=“prof:true” ./app” unfortunately no profile and errors.
Just to test if —enable-prof has some effect I compiled without —enable-prof and run same command and got "<jemalloc>: Invalid conf pair: prof:true”.
Any ideas?

P.S. My app is very simple just 2 allocations and memset
void * m = malloc(65000);
memset(m, '\0', 65000);
void * n = malloc(65000);
memset(n, '\0', 65000);

Thanks in advance

More information about the jemalloc-discuss mailing list