GitHub user git-hulk added a comment to the discussion: Memory leak and confusing logs
@yatriks Thanks for your information. From the current `info` output, Kvrocks uses about 5 GiB of RSS, and the block cache uses 4 GiB (it's expected). > block_cache_usage:4293947840 In your previous screenshot, Kvrocks occupied 12 GiB of memory and caused OOM. I'm wondering if the compaction behavior caused the high memory. Could you please check your logs to see if any compaction happened during the high memory period? If yes, I think we can try to limit the max compaction bytes via the configuration: `rocksdb.max_compaction_bytes` via the redis-cli command: `config set rocksdb.max_compaction_bytes 1073741824`. <img width="434" alt="image" src="https://github.com/user-attachments/assets/1dd75742-565b-4f76-bbdd-6831c437b35b" /> GitHub link: https://github.com/apache/kvrocks/discussions/2984#discussioncomment-13221703 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
