简体   繁体   中英

How to set entityExpansionLimit in Lotus Domino Java Agent?

In developing a Lotus Domino Java agent, I received the error { ... Parser has reached the entity expansion limit "64,000"}. I tested the base code using the command line 64bit Java and got around this issue by expanding the Java Max Heap size to 8gig and setting the -DentityExpansionLimit = 4096000.

I would like to put this entityExpansionLimit parameter into the Lotus Domino Java agent, but I cannot find where JRE parameters are set.

Any advice?

You can set JVM properties as described here: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/javauseroptionsfile

In your case, text file with content:

entityExpansionLimit = 4096000

and notes.ini param:

JavaUserOptionsFile=\notes\data\options.txt

should do it.

You can expect various side effects, because, JVM for amgr and http tasks share those properties and it may cause problems to fine tune your Domino server (when amgr and http require different settings).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM