MemoryDB is a reference counted memory-based HashDB implementation backed by a HashMap.