Closed Brokenice0415 closed 1 month ago
Did you call RaftGroupService#shutdown when your app stoped?
One more thing to note: if you have enabled the RPC server sharing, you need to close the RPC server separately.
I'm closing it now, if there are any updates, feel free to reopen it.
Describe the bug
I started and stopped jraft server multiple times via
ProcessBuilder
and triggered the OOM.My guess is that the cause of OOM is that I didn't call shutdown but killed the process when stopping it, and RPC-related resources weren't properly recycled.
Actual behavior