There might be an issue with memory leaks. When trying out the example code, I monitored the memory usage of the leader, and it seems like it frees most memory periodically, but not all (see first screenshot). Some memory seem to be unreachable, and as those accumulates over time, we have a consistent positive slope (second screen shot), and it will eventually lead to memory exhaustion and thus the leader crushes. This is even when the leader is not doing anything besides sending/receiving packets to/from followers. Here I am running 5 nodes(1 leader, 4 followers). Could you help?
Thanks!


There might be an issue with memory leaks. When trying out the example code, I monitored the memory usage of the leader, and it seems like it frees most memory periodically, but not all (see first screenshot). Some memory seem to be unreachable, and as those accumulates over time, we have a consistent positive slope (second screen shot), and it will eventually lead to memory exhaustion and thus the leader crushes. This is even when the leader is not doing anything besides sending/receiving packets to/from followers. Here I am running 5 nodes(1 leader, 4 followers). Could you help?
Thanks!
