code: void increase() {
          // double the size
          length <<= 1;
          // There is no need to preserve what was in the memory before.
          ByteBuffer buffer = Buffer.allocateDirectWithNativeOrder(calculateBufferCapacity(length));
          Buffer.free(memory);
          memory = buffer;
          memoryAddress = Buffer.memoryAddress(buffer);
      }
docs: Increase the storage of this {@link EpollEventArray}.