Added default JAVA_OPTS for running tests.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/53b1c1cb Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/53b1c1cb Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/53b1c1cb Branch: refs/heads/master Commit: 53b1c1cb334fe25ca610c83a9aae67e71e6cd55b Parents: 44ccedb Author: Preston Carman <[email protected]> Authored: Mon May 19 16:36:02 2014 -0700 Committer: Preston Carman <[email protected]> Committed: Mon May 19 16:36:02 2014 -0700 ---------------------------------------------------------------------- .../src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh | 2 ++ .../resources/noaa-ghcn-daily/scripts/run_benchmark_cluster.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/53b1c1cb/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh index 6e1e7b7..82e4ad7 100755 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh @@ -34,6 +34,8 @@ then exit fi +export JAVA_OPTS="$JAVA_OPTS -server -Xmx8G -XX:+HeapDumpOnOutOfMemoryError" + for j in $(find ${1} -name '*q??.xq') do if [ -z "${3}" ] || [[ "${j}" =~ "${3}" ]] http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/53b1c1cb/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark_cluster.sh ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark_cluster.sh b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark_cluster.sh index b4a770d..505f0ed 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark_cluster.sh +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark_cluster.sh @@ -43,7 +43,9 @@ fi # Run queries for the specified number of nodes. echo "Starting ${2} cluster nodes" python vxquery-server/src/main/resources/scripts/cluster_cli.py -c vxquery-server/src/main/resources/conf/${2}nodes.xml -a start - + +export JAVA_OPTS="$JAVA_OPTS -server -Xmx8G -XX:+HeapDumpOnOutOfMemoryError" + for j in $(find ${1} -name '*q??.xq') do # Only work with i nodes.
