Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
[Issue #292] Exit on OOM
Browse files Browse the repository at this point in the history
Explicitly set flag to exit on OOM

Change-Id: Ie37734085d26866756a0aaaaa61e892e9c7156a2
Reviewed-on: https://bellevue-ci.eng.vmware.com:8080/54044
Reviewed-by: Sergio Sanchez <sanchezs@vmware.com>
Closures-Verified: jenkins <jenkins@vmware.com>
Upgrade-Verified: jenkins <jenkins@vmware.com>
Bellevue-Verified: jenkins <jenkins@vmware.com>
CS-Verified: jenkins <jenkins@vmware.com>
PG-Verified: jenkins <jenkins@vmware.com>
  • Loading branch information
lazarin committed Jan 9, 2019
1 parent 22e6864 commit f4a3055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ XENON_STACKTRACE=""
fi

JAVA_OPTS="$JAVA_OPTS $MEMORY_OPTS"
JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$ADMIRAL_STORAGE_PATH"
JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$ADMIRAL_STORAGE_PATH -XX:+ExitOnOutOfMemoryError"

java -Djava.util.logging.config.file=$LOG_CONFIG_FILE_PATH -Dconfiguration.properties=$CONFIG_FILES $JAVA_OPTS -cp $ADMIRAL_ROOT/*:$ADMIRAL_ROOT/lib/*:/etc/xenon/dynamic-services/* $XENON_PHOTON_MODEL_PROPS $XENON_STACKTRACE com.vmware.admiral.host.ManagementHost --bindAddress=0.0.0.0 --port=$ADMIRAL_PORT --sandbox=$ADMIRAL_STORAGE_PATH $XENON_OPTS &
PID=$!
Expand Down

2 comments on commit f4a3055

@renmaosheng
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Laro,
could you please give us a new admiral build to ask Jitin to verify? we want to rtm today. thanks.

@lazarin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tag vic_v1.5.0-rc4 was pushed

Please sign in to comment.