Open DAMEK86 opened 2 years ago
We've also seen this become a problem when there's sudden high pressure of concurrent compression going on and the pool will become extremely big. When this pressure goes away the pool isn't being freed by design.
For our use case it could even be better to be able to limit the pool size to slow down concurrent throughput artificially but have consistent memory footprint.
I try to use your lib within a data collection HTTP endpoint by injecting the
http.ResponseWriter
. As a result, the endpoint provides a tar.lz4 file which is served very cool on my arm64.code snippet
so far so good but in detail, I see a heavy memory lifting and it looks like
Close()
didn't clean up the lz4block poolI tried different options but always run into the same memory leakage hope you can help!