The dsjavaproperties command provides an --initialize option that allows you to regenerate the Java properties file specifically if you set up the Directory Server using standard memory usage but opt for aggressive memory tuning after setup.
Rather than reconfigure the Java properties file by re-running setup or manually editing the java.properties file, you can regenerate the properties file for aggressive memory tuning. Any existing file is renamed with a .old suffix.
Run the dsjavaproperties command to regenerate the java
properties file for aggressive memory tuning.
$ bin/dsjavaproperties --initialize --jvmTuningParameter AGGRESSIVE