https://github.com/Code-Hex/go-generics-cache/blob/2601bb0d3c67fc00cdbd5763cc2361d2a363f0ee/cache.go#L277-L279 After some pprof job, I believe this line make memory leaks as this would not checking lru cache capacity before doing heap push.
go-generics-cache/cache.go
Lines 277 to 279 in 2601bb0
After some pprof job, I believe this line make memory leaks as this would not checking lru cache capacity before doing heap push.