code: public void close()
        throws IOException {
      channel.close();
      mappedFile.close();
      indexBuffer = null;
      dataBuffers = null;
      mappedFile = null;
      channel = null;
      System.gc();
    }
docs: Close the reader channel