After starting Java Worker Processes / Java Communication Processes (JCP/JWP), or during normal usage, the JCP/JWP fails with the follwing in the log:
Found the below lines:
20191107/061523.953 - 47 U00045014 Exception 'java.lang.OutOfMemoryError: "Java heap space"' at 'org.postgresql.util.PGbytea.toBytesHexEscaped():37'.
20191107/061523.956 - 47 U00003620 Routine 'com.automic.kernel.impl.DefaultExceptionHandler' forces trace because of error.
20191107/061523.963 - 47 U00003450 The TRACE file was opened with the switches '0000000000000000'.
20191107/061524.362 - 47 U00003449 Output to the TRACE file is finished.
Release : 12.3
Component : AUTOMATION ENGINE
Listed within the documentation, the recommendation is:
java -Xmx2G -jar ucsrvjp.jar -Iucsrv.ini -svc%port% -rest (JCP)
java -Xmx2G -jar ucsrvjp.jar -Iucsrv.ini -svc%port% (JWP)
This recommendation is for low/moderate usage; in larger or more active systems, these values may need to be increased per sizing.
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Installation_Manual/AE/InstalltheAE_JWP.htm
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Installation_Manual/AE/InstalltheAE_JCP.htm