You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2014/01/31 01:10:58 UTC
[2/3] git commit: To aid in trouble shooting errors liek APLO-317,
lets add -XX:+HeapDumpOnOutOfMemoryError to the default JVM options.
To aid in trouble shooting errors liek APLO-317, lets add -XX:+HeapDumpOnOutOfMemoryError to the default JVM options.
Project: http://git-wip-us.apache.org/repos/asf/activemq-apollo/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-apollo/commit/c54cff31
Tree: http://git-wip-us.apache.org/repos/asf/activemq-apollo/tree/c54cff31
Diff: http://git-wip-us.apache.org/repos/asf/activemq-apollo/diff/c54cff31
Branch: refs/heads/trunk
Commit: c54cff3138827bf78bc2edb181aa73ef30c89c30
Parents: 2fe4897
Author: Hiram Chirino <hi...@hiramchirino.com>
Authored: Thu Jan 30 16:18:28 2014 -0500
Committer: Hiram Chirino <hi...@hiramchirino.com>
Committed: Thu Jan 30 16:18:28 2014 -0500
----------------------------------------------------------------------
apollo-distro/src/main/release/bin/apollo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-apollo/blob/c54cff31/apollo-distro/src/main/release/bin/apollo
----------------------------------------------------------------------
diff --git a/apollo-distro/src/main/release/bin/apollo b/apollo-distro/src/main/release/bin/apollo
index e502fb5..ea7cc03 100755
--- a/apollo-distro/src/main/release/bin/apollo
+++ b/apollo-distro/src/main/release/bin/apollo
@@ -124,7 +124,7 @@ if $cygwin; then
fi
if [ -z "$JVM_FLAGS" ] ; then
- JVM_FLAGS="-server -Xmx1G -XX:-UseBiasedLocking"
+ JVM_FLAGS="-server -Xmx1G -XX:+HeapDumpOnOutOfMemoryError -XX:-UseBiasedLocking"
fi
if [ "$APOLLO_ASSERTIONS" != "false" ] ; then