Closed DimitriTimoz closed 2 months ago
That's normal: it's how lazy_static
is supposed to work. It allocates a HashSet
and keeps it for the entire lifetime of the process. At the end it doesn't need to free it since the process is exiting anyways.
Closing since this isn't a bug in hashbrown.
I have a segfault randomly with the following code, I ran it with valgrind and I got this memory leak.
rustc 1.80.1 (3f5fd8dd4 2024-08-06) Ubuntu
Code
Valgrind
Cargo tree
Here is the page.rs that could be the reason of this leak: here