diff options
author | 2017-06-09 10:29:31 -0400 | |
---|---|---|
committer | 2017-06-09 10:29:43 -0400 | |
commit | 7faa186d6cbd20f2dfd44b282a4801b0e4546b74 (patch) | |
tree | 8dcf288cb6aa6be517b62b91a4c34550401207fe /src/main/bin/start.sh | |
parent | af22a5fce1d17e3cc419b0f71a9a522908f27f06 (diff) |
Configurable max heap size and PID fix
Change-Id: I9df20b8843c3a09cd89262b5f188af7840cbb811
Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
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 59f4314..0e11779 100644 --- a/src/main/bin/start.sh +++ b/src/main/bin/start.sh @@ -73,7 +73,8 @@ PROPS="$PROPS -DAJSC_SERVICE_NAMESPACE=data-router" PROPS="$PROPS -DAJSC_SERVICE_VERSION=v1" PROPS="$PROPS -Dserver.port=9502" PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME" +JVM_MAX_HEAP=${MAX_HEAP:-1024} echo $CLASSPATH -java -Xms1024m -Xmx4096m -XX:PermSize=2024m $PROPS -classpath $CLASSPATH com.att.ajsc.runner.Runner context=// sslport=9502 +exec java -Xmx${JVM_MAX_HEAP}m $PROPS -classpath $CLASSPATH com.att.ajsc.runner.Runner context=// sslport=9502 |