VERIFIED SOLUTION i

Resolve Web Service execution fails with 'java.lang.OutOfMemoryError: Java heap space' exception in EngageOne

Configuration: JBoss 5.1
Current Version: 3.X

 

Issue

Output does not get generated due to Web Service execution failure.
 

Cause

This could happen due to current JVM heap size not being sufficient to hold memory needed by Web Service to get executed successfully.
 

Resolution

UPDATED: March 28, 2017
JVM heap size can be increased by changing both '-Xms' and '-Xmx' to '1028M' in 'run.conf.bat' located in '<Jboss_home>/bin' directory. Refer screenshot of 'run.conf.bat' with these changes attached. Application Server restart is necessary for the changes to take effect.

If same error is encountered with this change, it is recommended to further increase both parameters to a larger value (for example '2048M').