All ConnectALL sync activity stopped with error in logs "Caused by: java.lang.OutOfMemoryError: Java heap space"
search cancel

All ConnectALL sync activity stopped with error in logs "Caused by: java.lang.OutOfMemoryError: Java heap space"

book

Article ID: 422385

calendar_today

Updated On:

Products

ConnectAll On-Prem ConnectALL

Issue/Introduction

ConnectALL stopped syncing the record but Core service shows running.

See below error in ConnectALL logs.

Caused by: java.lang.OutOfMemoryError: Java heap space

Environment

3.x

Cause

Core stopped working because of memory leak for Core service.

Resolution

Workaround:

Restarting Core service will start/resume the sync operation.

 

Resolution:

To fix the issue permanently, we need to increase JVM for Core service as per sizing guide published in TechDoc refer Core Heap section.

In order to change the values below files need to be modified with xms(min) and xmx(max) parameters followed by ConnectALL services restart.

 

Windows:

.../ConnectALL/Core/bin/connectall-core.xml

Linux:

.../ConnectALL/Core/bin/start-server.sh


Ex: 

In below example, JVM configured 1 GB and 2 GB respectively.

-Xms1024M -Xmx2048M