final String insertLogFilePath = RUNTIME_DIR + "/inserted.txt";
final File sourceDataFile = new File(sourceDataFilePath);
final File dataFile = new File(dataFilePath);
HelperFileUtil.getInstance().copyFile(sourceDataFile, dataFile);
final HeapFileSetup setup = new HeapFileSetup(
EnumFileAccessMode.MAPPED_RANDOM_FILE_ACCESS, dataFile,
CRASH_SAFE_MODE/* crashSafeMode */,
false/* FILE_CACHE *//* useCacheMode */,
false/* deleteRenaming */, false/* clearResizeFile */,
0/* maxFileOperationRetry */, 0/* fileOperationRetryMsDelay */,
null/* openFileTraceFile */);
// if (FILE_CACHE) {
// setup.cacheSetup(PAGE_SIZE, NUMBER_OF_PAGE);
// }
setup.fileBufferSetup(8 * 1024, 32);
final IHeapDataManager dataManager =
/**/new BtreePlusDataManager(setup);
run(insertLogFilePath, null, dataManager, true);
}