Configuring the Directory Server
Configuring Security in the Directory Server
Directory Server Configuration
Improving Performance When Importing Large Data Sets
To calculate how much memory you need, take the import buffer size, add 10 percent for database dedicated memory, and add 10 percent to avoid hitting out-of-memory errors. For example, if you set the buffer size to 2 Gbytes, add 256 Mbytes for the database and another 256 Mbytes to avoid out-of-memory errors.
When you have calculated the memory requirement, perform the following steps:
Edit the java.properties file and set the following values:
overwrite-env-java-args=true import-ldif.offline.java-args=-Xms2560M -Xmx2560M
Run the dsjavaproperties command:
$ bin/dsjavaproperties
Note - Running the dsjavaproperties command, or setting the OPENDS_JAVA_ARGS environment variable, only has a performance impact if the import is offline. If the server is already running and you perform an online import, changing the Java arguments has no impact on the import performance because the import is performed by the server JVM.