This article details how to increase the heap size for server-util script executions if the script is encountering "java.lang.OutOfMemoryError Java heap space" errors.
To increase the heap allocation of the scripts within a server installation's server-util directory, increase the memory allocation at the end of the
CLIENT_JAVA_OPTIONS property in
appserver.properties and then redeploy:
CLIENT_JAVA_OPTIONS=-Djavax.net.ssl.trustStore=%CONFPATH%/democert.keystore -Djavax.net.ssl.trustStorePassword=democert -Xmx128m
Note that this only updates the memory settings for server-util script executions. If you are using an Assure Client installation to trigger scripts, then please see our article on How to increase the heap size for the Assure Client.