Wow 34 MB of Rss with jemalloc vs 5MB in system malloc, is that correct?

@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
Follow

@federicomena Yes!, that seems to be reason. I don't understand jemalloc (yet) but seems to be using more Rss than the system allocator. Ths is the comparison of the CpuPool with size 4, at the left is jemalloc. mastodon.social/media/kMgbPfhL

Sign in to participate in the conversation
Mastodon

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!