About couchbase ep-engine on memory management and eventually persistant

I don’t think you’ll find the tc-malloc link in the ep-engine makefile because it’s loaded by the memcached process which then loads ep-engine.

I don’t understand the next part of your reply. It is true that things received which are not persisted could be lost, but that’s why SDKs provide durability requirements like the PersistTo or ReplicateTo argument in Java/.NET.