Use Document order traversal for reindexing performed on DocumentNodeStore setups
Reduce the max size for in memory sorting
@@ -50,7 +50,7 @@ public class FlatFileNodeStoreBuilder {
private boolean useZip = Boolean.getBoolean(OAK_INDEXER_USE_ZIP);
private boolean deleteOriginal = Boolean.parseBoolean(System.getProperty(OAK_INDEXER_DELETE_ORIGINAL, "true"));
- private int maxMemory = Integer.getInteger(OAK_INDEXER_MAX_SORT_MEMORY_IN_GB, 5);
+ private int maxMemory = Integer.getInteger(OAK_INDEXER_MAX_SORT_MEMORY_IN_GB, 3);
public FlatFileNodeStoreBuilder(Iterable<NodeStateEntry> nodeStates, File workDir) {
this.nodeStates = nodeStates;
