What it means
A Java agent, XPage or Java code on the server or client ran out of Java heap memory.
Common causes
- Large collections, documents or attachments held in memory at once
- Domino Java objects not recycled in loops
- The JVM heap size is too small for the workload
Quick fixes
- Call
recycle() on Domino objects inside loops
- Process documents in batches instead of loading everything at once
- Review the
JavaMaxHeapSize notes.ini setting, and restart the task after changing it
Disclaimer
The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.
This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.