LuciferYang opened a new issue, #9774: URL: https://github.com/apache/paimon/issues/9774
### Bug description `LocalMemoryCacheManager` memoizes file sizes in an unbounded `ConcurrentHashMap<String, Long>`; the only removal path is prefix invalidation when a `CachingFileIO` wrapper is fully released. In memory-cache mode (`local-cache.enabled` without a cache dir), a job reading many distinct whitelisted files (snapshots, manifests, index files — everything not excluded by `FileType.isMutable`) grows this map without limit: one path-string entry per distinct file for the lifetime of the shared cache manager. ### Expected behavior The memo should be size-bounded: entries are only a fast path to skip one `getFileStatus` call, so dropping the eldest entry merely costs a re-stat on the next open. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
