For a real installation, you can adjust JVM parameters for your server, for example to allow OpenDJ to use more memory.