DirXML Log Event -------------------
Driver: \VAULT\ORG\ESC\DirXML\DRIVERSET\HMS S00177
Message: Code(-9010) An exception occurred: java.lang.OutOfMemoryError: Java heap space
at com.novell.nds.dirxml.driver.jdbc.util.JDBCLib.GetStackTrace(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.util.JDBCLib.UnhandledException(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationShim.start(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationProxy.start(Unknown Source)
I was able to tweak with these settings straight from Designer, but could also use iManager. For iManager, you simply go to Identity Manager Overview, then select Driverset properties once you are looking at the driverset. In the properties, it is under the Identity Management tab, Misc section (see screenshot below).
For designer, you simply go to the properties of the driverset object, select java and set your environment for the heap there (see below).
As you can tell, the values are the same (as they should be). I set it to 640MB, which is fairly high, but I will be running many JDBC drivers in this driverset on this server, so I will use that memory. The default value is 64MB, and it is recommended to increase this in increments of 64-128MB at a time. In order for these settings to take effect, eDirectory must be restarted. Please note, this setting is on a per server basis and must be tweaked as such.
There is the potential to set this value too high. One symptom that you will observe if this value is set too high is the dhost.exe process will consume a very small amount of memory relative to the previous it was using and your IDM drivers do not start at all. This is a hint that you have set the value too high and need to set it lower.
If you are using a tree that only has one server and you hose this up, it is possible that eDirectory will not even start. This becomes problematic because you need eDirectory started in order to change this setting. To resolve your problem, you can prevent the DirXML portion of the eDirectory stack from starting by renaming the following file and starting eDirectory. At this point you should be able to change the cache value and move on:
Or just move the drivers to a remote loader. You can even run remote loader locally, but it will not use precious eDirectory memory.ReplyDelete
is this the same like setting DHOST_JVM_MAX_HEAP in /opt/novell/eDirectory/sbin/pre_ndsd_start?
Why not just run the drivers on a remoteloader. Remote Loader can run on the same server as where the engine runs.ReplyDelete
I would move to a remote loader, but some of the drivers make queries back to eDirectory, so having it local helps.. Why not just beef up the box and throw more drivers on it instead of running an entirely different box for it... Its an implementation decision really.ReplyDelete
Not the same setting. You are looking at NDS memory settings, this is a IDM heap setting I believe.