If you use the LDAP-Search method and the driver shuts down with a java.lang.OutOfMemoryError:
Try setting or increasing the DHOST_JVM_INITIAL_HEAP and DHOST_JVM_MAX_HEAP environment variables.
Restart the driver.
Monitor the driver to make sure that the variables provide enough memory.
See TID 10062098.