env = openEnvironment(dir, false);
db = openDatabase(env, nodeMax, false);
out.println("\nPreloading with cache size: " +
INT_FORMAT.format(env.getConfig().getCacheSize()));
PreloadStatus status = preloadRecords(out, db, false /*loadLNs*/);
printStats(out, env,
"Stats for internal nodes only after preload (" +
status + ")");
if (dataSize >= 0) {
status = preloadRecords(out, db, true /*loadLNs*/);