je_mallctl("epoch",&epoch,&sz,&epoch,sz);/* Update the statistics cached by mallctl. */
je_mallctl("stats.resident",&resident,&sz,NULL,0);/* unlike RSS, this does not include RSS from shared libraries and other non heap mappings */
je_mallctl("stats.active",&active,&sz,NULL,0);/* unlike resident, this doesn't not include the pages jemalloc reserves for re-use (purge will clean that) */
je_mallctl("stats.allocated",&allocated,&sz,NULL,0);/* unlike zmalloc_used_memory, this matches the stats.resident by taking into account all allocations done by this process (not only zmalloc) */