FoundationDB / fdb-document-layer

A document data model on FoundationDB, implementing MongoDB® wire protocol
Apache License 2.0
207 stars 29 forks source link

Memory leak on connections #202

Closed apkar closed 5 years ago

apkar commented 5 years ago

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