Solutions
Archived

Out Of Memory Error when installing OpenDJ 3, or using import-ldif, rebuild-index or dsreplication commands

Last updated Jan 5, 2021

The purpose of this article is to provide assistance if you encounter an "Exception in thread "main" java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Native Method)" error. This error can occur when you use the setup command to install or upgrade, or you use the import-ldif or rebuild-index commands. Similarly, you might see an "OutOfMemoryError (Unsafe.java" error when using the dsreplication command.



Copyright and Trademarks Copyright © undefined ForgeRock, all rights reserved.