Wow 34 MB of Rss with jemalloc vs 5MB in system malloc, is that correct?
@erich what's your allocation pattern like?
@federicomena I think I found the problem. I'm using the futures_cpupool, when I removed the cpupool the memory decreases to 6MB.
That CpuPool is using about 21 MB just with this line:
let pool = CpuPool::new_num_cpus();
@erich probably the per-thread stacks. What does pmap say?
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!