Discussion:
SDI shuts down stating our of Memory error
(too old to reply)
c***@gmail.com
2018-12-20 09:29:55 UTC
Permalink
Hi,

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

Thanks,
Salvador
Jason Williams
2018-12-20 17:15:32 UTC
Permalink
Post by c***@gmail.com
Hi,
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
Thanks,
Salvador
Based on what you've described so far, I would increase the heap of the JVM. Review this link
https://www.ibm.com/support/knowledgecenter/SSCQGF_7.2.0/com.ibm.IBMDI.doc_7.2/pdguide92.htm#wq195
Jason Williams
2018-12-20 17:14:32 UTC
Permalink
Post by c***@gmail.com
Hi,
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
Thanks,
Salvador
I would try adjusting the heap of the JVM. Review this link
https://www.ibm.com/support/knowledgecenter/SSCQGF_7.2.0/com.ibm.IBMDI.doc_7.2/pdguide92.htm#wq195
c***@gmail.com
2018-12-21 04:40:49 UTC
Permalink
Post by Jason Williams
Post by c***@gmail.com
Hi,
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
Thanks,
Salvador
I would try adjusting the heap of the JVM. Review this link
https://www.ibm.com/support/knowledgecenter/SSCQGF_7.2.0/com.ibm.IBMDI.doc_7.2/pdguide92.htm#wq195
I checked this out and made the changes accordingly. But still the SDI stops responding after getting around 300 records from the LDAP.
Franzw
2018-12-21 12:58:11 UTC
Permalink
Post by c***@gmail.com
Post by Jason Williams
Post by c***@gmail.com
Hi,
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
Thanks,
Salvador
I would try adjusting the heap of the JVM. Review this link
https://www.ibm.com/support/knowledgecenter/SSCQGF_7.2.0/com.ibm.IBMDI.doc_7.2/pdguide92.htm#wq195
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.

HTH
Regards
Franz Wolfhagen
c***@gmail.com
2018-12-27 04:49:50 UTC
Permalink
Post by Franzw
Post by c***@gmail.com
Post by Jason Williams
Post by c***@gmail.com
Hi,
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
Thanks,
Salvador
I would try adjusting the heap of the JVM. Review this link
https://www.ibm.com/support/knowledgecenter/SSCQGF_7.2.0/com.ibm.IBMDI.doc_7.2/pdguide92.htm#wq195
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.
HTH
Regards
Franz Wolfhagen
Thanks a Lot. It worked Fine

Loading...