Fix regression apparently introduced in r12148 in Importer constructor for import.
It translates to OutOfMemoryError under continuous integration + setup failure with generated data.
| | |
| | | this.clearedBackend = mustClearBackend(importCfg, backendCfg); |
| | | this.scratchFileWriterList = new ArrayList<>(indexCount); |
| | | |
| | | validateDNs = !importCfg.getSkipDNValidation(); |
| | | this.tempDir = prepareTempDir(backendCfg, importCfg.getTmpDirectory()); |
| | | // be careful: requires that a few data has been set |
| | | computeMemoryRequirements(); |
| | | |
| | | validateDNs = !importCfg.getSkipDNValidation(); |
| | | if (validateDNs) |
| | | { |
| | | final File dnCachePath = new File(tempDir, DN_CACHE_DIR); |