diff options
Diffstat (limited to 'src/main/bin/start.sh')
-rw-r--r-- | src/main/bin/start.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh index f35b1f1..cb1e9a9 100644 --- a/src/main/bin/start.sh +++ b/src/main/bin/start.sh @@ -19,7 +19,8 @@ PROPS="$PROPS -DAJSC_SERVICE_NAMESPACE=model-loader" PROPS="$PROPS -DAJSC_SERVICE_VERSION=v1" PROPS="$PROPS -Dserver.port=8080" PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME" +JVM_MAX_HEAP=${MAX_HEAP:-1024} echo $CLASSPATH -exec java -Xms1024m -Xmx4096m -XX:PermSize=2024m $PROPS -classpath $CLASSPATH com.att.ajsc.runner.Runner context=// sslport=8081 +exec java -Xmx${JVM_MAX_HEAP}m $PROPS -classpath $CLASSPATH com.att.ajsc.runner.Runner context=// sslport=8081 |