Skip to content

Memory leak due to DocumentSubsetBitsetCache.keysByIndex #49261

@jpountz

Description

@jpountz

While reviewing DocumentSubsetBitsetCache, I noticed that it might leak memory since size-based evictions don't trigger evictions in DocumentSubsetBitsetCache.keysByIndex. So keysByIndex might keep holding a reference to cache keys long after they have been removed from the cache.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions