You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Parquet Metadata Cache]: Limit memory used #17001
However, as implemented there is no bound on the amount of memory that is in the cache, which will result in a "leak" over time (aka memory usage always goes up and never down)
Describe the solution you'd like
I would like the cache to have an upper memory limit so we people can turn it on / off and its resource use is capped
Describe alternatives you've considered
I personally recommend:
Adding another Runtime Configuration Settingdatafusion.runtime.file_metadata_cache_limit with the same interface as datafusion.runtime.memory_limit
Implement a basic LRU strategy for the cache (when the limit is exceeded, evict the least recently used elements until there is space)
Activity
nuno-faria commentedon Jul 31, 2025
take