Skip to content

Commit

Permalink
Increase -Xmx flag for junit runner.
Browse files Browse the repository at this point in the history
The build.sh script was failing on OOM during running
tests (ddply test was the last test in the log).
Hence I increased heap value.
  • Loading branch information
mmalohlava committed Feb 16, 2014
1 parent b926ccc commit 2a13069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function build_javadoc() {

function junit() {
echo "running JUnit tests..."
"$JAVA" -ea -cp ${JAR_FILE} water.Boot -mainClass water.JUnitRunner
"$JAVA" -Xmx2g -ea -cp ${JAR_FILE} water.Boot -mainClass water.JUnitRunner
}

if [ "$1" = "onlydoc" ]; then
Expand Down

0 comments on commit 2a13069

Please sign in to comment.