pages.remove(owner);
closeDocument();
    public void sync() throws DBException {        super.flush();        dataCache.flush();        pages.remove(owner);        try {            if (fileHeader.isDirty()) fileHeader.write();        } catch (IOException ioe) {            LOG.warn("sync failed", ioe);        }    }