//efficient startup. For example, the following could be used. We'd have
//to include a file when we need to evolve the schema or something similar
//config.detectSchemaChanges(false)
if (getLargeBlockSizeMarkerFile().exists())
config.blockSize(LARGE_DB_BLOCK_SIZE); //The DB has been migrated to a larger block size
config.setOut(new PrintStream(new ByteArrayOutputStream()) {
@Override
public void write(byte[] buf, int off, int len) {
if (buf != null && len >= 0 && off >= 0 && off <= buf.length - len)