Estimates memory usage of instance.
instance
@override int memorySize(String value) { return 32 + (2 * value.length + 7) ~/ 8 * 8; }