---
title: NetWitness Integration-Server offline due to OutOfMemoryError
description: "Issue\nIntegration-server is offline in UI, and logs show below errors./var/log/netwitness/integration-server/integration-server.log:\n2021-05-27 09:43:"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/netwitness-integration-server-offline-due-to-outofmemoryerror#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# NetWitness Integration-Server offline due to OutOfMemoryError

#### Issue

 Integration-server is offline in UI, and logs show below errors.

**/var/log/netwitness/integration-server/integration-server.log:**

 2021-05-27 09:43:49,219 \[nchMessageListenerContainer-19\] WARN API|Failure /rsa/notification/send \[counter=13662 **reason=OutOfMemoryError::Java heap space\]**   
2021-05-27 09:43:49,229 \[nchMessageListenerContainer-19\] ERROR c.r.a.l.e.t.LaunchMessageListenerContainer|Consumer thread error, thread abort.   
**java.lang.OutOfMemoryError: Java heap space**   
at java.base/java.util.Arrays.copyOf(Arrays.java:3745)   
at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:172)   
at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:686)   
at java.base/java.lang.StringBuffer.append(StringBuffer.java:409)   
at java.base/java.io.StringWriter.write(StringWriter.java:99)   
at java.base/java.io.Writer.write(Writer.java:213)

 

#### Cause

Integration-Server service gets out of memory due to high number of email alerts being processed.

#### Resolution

1\. Please login NwServer and backup integration server config file:

 cp -av /etc/netwitness/integration-server/integration-server.conf /root/integration-server.conf.bak

2\. Edit the file to set the JAVA\_MAX\_HEAP\_GB from 3G to 5G :

 vi /etc/netwitness/integration-server/integration-server.conf

Before:

 \# This is the integration-server daemon configuration file.   
\#   
\# This file can be used to tweak the Java VirtualMachine configuration and is \*not\* the application configuration file.   
\# For most configuration changes the file you're probably looking for is: /etc/netwitness/integration-server/integration-server.yml

\# No /var/log logs required.   
LOG\_FOLDER=/dev   
LOG\_FILENAME=null

\# CentOS does not have start-stop-daemon   
USE\_START\_STOP\_DAEMON=false

\# The service will run using the specified Java installation   
JAVA\_HOME=/etc/alternatives/jre\_17

\# Any options defined here will be passed to the JVM when it is launched   
JAVA\_OPTS="-XX:+UseG1GC -Dlog4j2.formatMsgNoLookups=true -Dcom.sun.jndi.cosnaming.object.trustURLCodebase=false -Djava.security.egd=file:/dev/./urandom -Xmx$ {JAVA\_MAX\_HEAP\_GB:-3G}"

After:

 \# This is the integration-server daemon configuration file.   
\#   
\# This file can be used to tweak the Java VirtualMachine configuration and is \*not\* the application configuration file.   
\# For most configuration changes the file you're probably looking for is: /etc/netwitness/integration-server/integration-server.yml

\# No /var/log logs required.   
LOG\_FOLDER=/dev   
LOG\_FILENAME=null

\# CentOS does not have start-stop-daemon   
USE\_START\_STOP\_DAEMON=false

\# The service will run using the specified Java installation   
JAVA\_HOME=/etc/alternatives/jre\_17

\# Any options defined here will be passed to the JVM when it is launched   
JAVA\_OPTS="-XX:+UseG1GC -Dlog4j2.formatMsgNoLookups=true -Dcom.sun.jndi.cosnaming.object.trustURLCodebase=false -Djava.security.egd=file:/dev/./urandom -Xmx$ {JAVA\_MAX\_HEAP\_GB:-5G}"

3\. Restart the service using below command.

 systemctl restart  rsa-nw-integration-server.service

  4. Check the service status to confirm that the changes have been applied (look for **-Xmx5G**):

 \[root@AdminServer ~\]# systemctl status rsa-nw-integration-server | grep -i xmx   
 └─2057576 /etc/alternatives/jre\_17/bin/java -Dsun.misc.URLClassPath.disableJarChecking=true -XX:+UseG1GC -Dlog4j2.formatMsgNoLookups=true -Dcom.sun.jndi.cosnaming.object.trustURLCodebase=false -Djava.security.egd=file:/dev/./urandom **-Xmx5G** -jar /usr/sbin/integration-server.jar --rsa.security.pki.ciphers=TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256,TLS\_DHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256,TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256,TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384,TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384,TLS\_DHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384 --rsa.logging.console=false

 

#### Notes

Should you continue to encounter Out of Memory errors after increasing the heap size to a maximum of 5G, please repeat the process and increment up the Max Heap in 1G increments until you get to a point where the integration server is not running out of memory. 

#### Product Details

**NetWitness Product Set:** NetWitness Platform  
**NetWitness Product/Service Type:** Admin Server, Integration Server  
**NetWitness Version/Condition:** 11.x, 12.x  
**Platform:** CentOS / AlmaLinux  
**O/S Version:** 7 / 8.9

#### Summary

This document outlines the procedure to increase memory for integration server.

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.