Post by email@example.com Post by Jason Williams Post by firstname.lastname@example.org
While running an AL to fetch data from LDAP (10K+ Users), the SDI shuts down stating out of memory error. I'm using SDI 7.2 and currently new to it. So don't know how to resolve this issue. I checked some ibm knowledge center sites but couldn't figure it out
I would try adjusting the heap of the JVM. Review this link
I checked this out and made the changes accordingly. But still the SDI stops responding after getting around 300 records from the LDAP.
Normally when this occurs this is because there is some kind of memory leak in the process that is not connected to the actual connector process.
Do you declare large global variables that grows and grows ? You can follow the global variables in the debugger - if you do not use the debugger you should start asap - Eddie has a good intro here : https://ibm.biz/BdjiyW (video) and the documentation here : https://www.ibm.com/support/knowledgecenter/en/SSCQGF_7.1.0/com.ibm.IBMDI.doc_7.1/DebuggingYourAssemblyLine.htm
Step through your process in the debugger and check how memory consumption grows to find the place where the problem is - memory should be freed on each cycle.