LS2J Error: Threw java.lang.OutOfMemoryError

I have been working on a project that moves data to and from LDAP using JNDI and Java. I have built document based LEI type engine using LotusScript and wanted to take advantage of it but had to use Java talk to LDAP. The best fit seemed LS2J, based Julian’s LS2J example everything looked great. All the testing was going great both updating and reading LDAP. Then I started receiving LS2J Error: Threw java.lang.OutOfMemoryError. Having written Java code in Domino before I went through my code making sure that everything was set to null; when I was done. Still the problem existed.

The SPR description describes the problem perfectly:

Fix for a memory leak when passing strings from Java back to LotusScript, which had caused LS2J Error: Threw java.lang.OutOfMemoryError.

It looks like we will be upgrading to 6.5.3 or higher.

2 thoughts on “LS2J Error: Threw java.lang.OutOfMemoryError

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">