It seems like we are leaking memory for each connection. This is easy to produce if we just create client connection and close immediately. With 1000 connections, I could make the process leak around 30MB. Valgrind should show the leak easily. Having said that, I haven't yet ran Valgrind on DocLayer.
It seems like we are leaking memory for each connection. This is easy to produce if we just create client connection and close immediately. With 1000 connections, I could make the process leak around 30MB. Valgrind should show the leak easily. Having said that, I haven't yet ran Valgrind on DocLayer.
https://forums.foundationdb.org/t/document-layer-oom/1557/10