Use MemoryMeasurer for value size.