Closed lrowe closed 1 year ago
Interesting, thanks for the report!
Maybe related to https://github.com/hawkw/sharded-slab/pull/80. Although I don't see how yet
I added a test for this in PR #83, and I can confirm that this issue was fixed by @loyd's changes from #80. I'm going to get a release out including the changes from #80 shortly, so this will be fixed in the next release.
I'm seeing unbounded memory growth when I set RESERVED_BITS to anything other than 0.
This is somewhat similar to #56 but the repro is less complex. Running on my Mac this is OOM killed after the 25th iteration.
Gist with repro and full outputs: https://gist.github.com/lrowe/56bc03b32e9d4bdabdd7d9f28f64af8d
main.rs
cargo run output
vmmap summary before OOM killed
The virtual size grows absolutely huge, seemingly much bigger than that reported by the memory-stats crate.