caipengbo opened a new issue, #2284: URL: https://github.com/apache/kvrocks/issues/2284
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues. ### Motivation The lack of memory constraints in current Kvrocks can lead to OOM, especially when deployed in container environments. ### Solution We should provide mechanisms to limit memory and avoid OOM. In the connection dimension: - avoid large `WriteBatch` - limit connection output buffer, support `client-output-buffer-limit` and `maxmemory-clients` ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
