* update memorydb trait * use malloc_size_of instead of heapsize_of * use jemalloc as default allocator for parity client.