Closed foobarbazmeow closed 1 month ago
Thanks a lot for the report! I'll look into it.
To clarify the scope, this affects only expirable cache in the lcw v1. I can reproduce the report but couldn't find the root cause of it yet. Even explicitly setting cache.data to nil after purge doesn't release the memory.
With a large cache load, some serious memory leaks are possible. The buckets in
map[K]V
are never reduced.