Sidebar

OutOfMemoryError - Heap Space

0 votes
101 views
asked Mar 19 by favio-m-6030 (240 points)

I'm working on a channel with a significant amount of nodes and, when adding a new node, the system throws an java.lang.OutOfMemoryError: Java heap space. I've checked the Heap Total in the Resource Monitor and it appears to be maxed out.

Are there any best practices or tips to avoid this? The Channel is stopped and I'm simply adding a node. How much can/should this be increased in order to guarantee I won't have problems while processing messages? I don't expect huge messages in the future, but this happened with the Channel stopped.

1 Answer

0 votes

In this instance, I would recommend increasing the amount of memory allocated for QIE.  Make sure you leave some memory unallocated for use by the host operating system.

You can adjust the memory in the QIE startup arguments; see this article:

Why is my Java memory usage high while QIE is running?

answered Mar 19 by jon-t-7005 (7,590 points)
...