mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

pvarga88
18.55.2020 7979191f1e2fa3b600c9a087b798f60b2e7b4d9f
import-ldif and rebuild-index fails with java.lang.OutOfMemoryError with OpenJDK11 if JVM has max heap <= 2GB (#99)

1 files modified
2 ■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/OnDiskMergeImporter.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/OnDiskMergeImporter.java
@@ -954,7 +954,7 @@
  /** DB cache size to use during import. */
  private static final int DB_CACHE_SIZE = 32 * MB;
  /** Required free memory for this importer. */
  private static final int REQUIRED_FREE_MEMORY = 50 * MB;
  private static final int REQUIRED_FREE_MEMORY = 350 * MB;
  /** LDIF reader. */
  /** Map of DNs to Suffix objects. */
  private final AbstractTwoPhaseImportStrategy importStrategy;