From acac2a13ebe79697f86272cacd61541955c9d343 Mon Sep 17 00:00:00 2001
From: Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Date: Thu, 16 Jun 2016 09:14:13 +0000
Subject: [PATCH] OPENDJ-3123: Reduce memory pressure by limiting the number of thread.
---
opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java b/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java
index 501ebdd..fdfe6b9 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java
@@ -93,7 +93,6 @@
private boolean skipDNValidation;
private String tmpDirectory;
private int threadCount;
- private int offHeapSize;
private String backendID;
private String rejectFile;
private String skipFile;
@@ -153,7 +152,6 @@
AttributeType typeClearBackend = getSchema().getAttributeType(ATTR_IMPORT_CLEAR_BACKEND);
AttributeType typeRandomSeed = getSchema().getAttributeType(ATTR_IMPORT_RANDOM_SEED);
AttributeType typeThreadCount = getSchema().getAttributeType(ATTR_IMPORT_THREAD_COUNT);
- AttributeType typeOffHeapSize = getSchema().getAttributeType(ATTR_IMPORT_OFFHEAP_SIZE);
AttributeType typeTmpDirectory = getSchema().getAttributeType(ATTR_IMPORT_TMP_DIRECTORY);
AttributeType typeDNCheckPhase2 = getSchema().getAttributeType(ATTR_IMPORT_SKIP_DN_VALIDATION);
@@ -209,7 +207,6 @@
clearBackend = asBoolean(taskEntry, typeClearBackend);
randomSeed = asInt(taskEntry, typeRandomSeed);
threadCount = asInt(taskEntry, typeThreadCount);
- offHeapSize = asInt(taskEntry, typeOffHeapSize);
// Make sure that either the "includeBranchStrings" argument or the
// "backendID" argument was provided.
@@ -587,7 +584,6 @@
importConfig.setSkipDNValidation(skipDNValidation);
importConfig.setTmpDirectory(tmpDirectory);
importConfig.setThreadCount(threadCount);
- importConfig.setOffHeapSize(offHeapSize);
// FIXME -- Should this be conditional?
importConfig.setInvokeImportPlugins(true);
--
Gitblit v1.10.0