VictoriaMetrics/lib/blockcache
Aliaksandr Valialkin 7c92aaeaa4
lib/blockcache: properly release memory occupied by deleted entries
Proviously the deleted entries could remain referenced via lastAccessHeap for long time.
This could lead to increased memory usage for the following caches starting from v1.73.0:

* indexdb/indexBlocks
* indexdb/dataBlocks
* storage/indexBlocks

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2242
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2007
2022-03-18 16:53:19 +02:00
..
blockcache_test.go lib/blockcache: fix TestCache by ensuring that the cache size can be divided by the number of cache shards 2022-02-16 18:48:09 +02:00
blockcache_timing_test.go lib/blockcache: use higher number of shards for higher number of CPU cores 2022-02-10 19:11:11 +02:00
blockcache.go lib/blockcache: properly release memory occupied by deleted entries 2022-03-18 16:53:19 +02:00