VERIFIED SOLUTION i

'java.lang.OutOfMemoryError: Java heap space' message in composition service log in EngageOne

Issue

Calls to Composition service fails with 'java.lang.OutOfMemoryError: Java heap space' message in Composition service logs. It starts functioning well again after a restart.

Cause

This happens due to current Composition JVM heap size not being sufficient to hold memory needed by Composition service to get executed successfully.

Resolution

UPDATED: August 31, 2018
Follow these steps:
  • Change JVM heap size by changing both values '-Xms' and '-Xmx' of 'composition.jvm.settings' in 'deploy.properties'.
  • Reconfigure of the Composition bundle to make this change take effect.