lock.acquire(Lock.WRITE_LOCK);
collectionsDb.flush();
} catch(final LockException e) {
LOG.warn("Failed to acquire lock on " + collectionsDb.getFile().getName(), e);
} finally {
lock.release(Lock.WRITE_LOCK);
}
notifySync();
pool.getIndexManager().sync();
final NumberFormat nf = NumberFormat.getNumberInstance();
LOG_STATS.info("Memory: " + nf.format(run.totalMemory() / 1024) + "K total; " +