Open Horusiath opened 7 months ago
Hello
The library uses some memory that it never frees (and the size depends on number of threads from which the library is used), but it should still be reachable and the library should be able to reuse it. In that sense, it would not be a true resource leak, but could cause tools to alert on it. It should not grow infinitely.
What exactly does the tool try to detect? Only the fact it was not freed, or also the fact it is reachable/not?
Recently some of the people using our library noticed that one of the parts is leaking memory. We decided to investigate it with the help mockalloc crate, which tracked the source of an issue within
ArcSwap::rcu
. I'm not sure if this is a false negative, however it may be worth taking look into.This test failed with following trace: