We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
重现过程:只需一个线程持续发SetRequest,为了加剧内存上升的过程,把value设的比较大,例如1k,持续一会后jvm就崩了。 猜测:Segment里面有个entries的list,只add没有remove,相当于把报文都存到内存了
The text was updated successfully, but these errors were encountered:
@winflex 在每次snapshot结束后,会调用SegmentedLog.truncatePrefix删除多余的内存segment。 目前默认的snapshot间隔是1小时,由于你的value比较大,所以建议把snapshot间隔调小一些。 配置这个字段:RaftOptions.snapshotPeriodSeconds
Sorry, something went wrong.
No branches or pull requests
重现过程:只需一个线程持续发SetRequest,为了加剧内存上升的过程,把value设的比较大,例如1k,持续一会后jvm就崩了。
猜测:Segment里面有个entries的list,只add没有remove,相当于把报文都存到内存了
The text was updated successfully, but these errors were encountered: