2017-06-28 14:26:54,909 ERROR https-jsse-nio-0.0.0.0-8443-exec-1 com.urbancode.commons.web.filter.ExceptionHandlingFilter - java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
whilst importing a rather large component into IBM UrbanCode Deploy (UCD) 6.2.4: -
-rw-r--r-- 1 hayd hayd 9098139652 Jun 28 11:13 bpmexport_artifacts5020774184330379773.zip
Thankfully, this IBM developerWorks Answers post: -
urbancode deploy server javaheapsize out of memory
has the answer; to increase the max heap: -
@kberg you can increase the java heap memory size by changing the default value of
I made the change: -JAVA_OPTS -Xmx
value within the $SERVER_HOME/bin/set_env
file. The default size is set to 1024m.
vi /opt/IBM/UCD624/bin/set_env
changing from: -
JAVA_OPTS="-Xmx4096m
to: -
JAVA_OPTS="-Xmx2048m
and restarted UCD: -
~/stopUCD.sh
~/startUCD.sh
We'll see how it goes ...
No comments:
Post a Comment