ReserveMemory reserves memory/buffer space in the scope; the unit is bytes.
Future<void> reserveMemory(int size, int priority);