How To
Summary
This guide explains how to solve the OutOfMemory Error thrown in the "resilient-email.error" log.
Objective
The following error taken from "/var/log/resilient-email.error" log shows an "OutOfMemoryError".
JVMDUMP030W Cannot write dump to file //heapdump.20220604.233744.4241.0002.phd: Permission denied
JVMDUMP032I JVM requested Heap dump using '/tmp/heapdump.<date-id>.phd' in response of an event
JVMDUMP010I Heap dump written to /tmp/heapdump.<date-id>.phd.phd
JVMDUMP030W Cannot write dump to file //heapdump.<date-id>.phd.phd: Permission denied
...
Exception in thread "Camel (camel-1) thread #23428 - JmsConsumer[email-service.test-connection]" Exception in thread "Camel (camel-1) thread #23424 - JmsConsumer[email-service.test-connection]" java/lang/OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError at java/lang/ThreadGroup.uncaughtException (ThreadGroup.java:867)
at java/lang/ThreadGroup.uncaughtException (ThreadGroup.java:861)
at java/lang/Thread.uncaughtException (Thread.java:1341)
Exception in thread "Camel (camel-1) thread #23434 - JmsConsumer[email-service.delete-connection]"
Exception in thread "Camel (camel-1) thread #23431 - JmsConsumer[email-service.test-connection]" Exception in thread "Camel (camel-1) thread #23435 - JmsConsumer[email-service.create-connection]" Exception in thread "Camel (camel-1) thread #23437 - JmsConsumer[email-service.test-connection]" Exception in thread "Camel (camel-1) thread #23404 - JmsConsumer[email-service.test-connection]" java.lang.OutOfMemoryErrorjava/lang/OutOfMemoryError: Java heap space
Environment
Any version.
Steps
Run the following command:
sudo systemctl restart resilient-email
If the issue persists, consider increasing the heap size for "resilient-email.service" as the following
:
In
/usr/share/co3/conf/email-server.properties, Set emailJavaMaxHeap=<mb>By default it is 1024 MB.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z000000cvv5AAA","label":"Email"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEGM63","label":"IBM Security QRadar SOAR on Cloud"},"ARM Category":[{"code":"a8m0z000000cvv5AAA","label":"Email"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
15 August 2022
UID
ibm16593419