From 3512be90e1f0a15e39c1f202202e620e6699bdfe Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Sat, 4 Mar 2017 23:42:15 +0800 Subject: [PATCH] possibly fix for build OOME --- gradle.properties | 2 ++ travis/scripts/print_error_logs.sh | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index e69de29bb..e5c2e8d19 100644 --- a/gradle.properties +++ b/gradle.properties @@ -0,0 +1,2 @@ +org.gradle.daemon=true +org.gradle.jvmargs=-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m \ No newline at end of file diff --git a/travis/scripts/print_error_logs.sh b/travis/scripts/print_error_logs.sh index 0aaeabe0c..93ffb6bb5 100755 --- a/travis/scripts/print_error_logs.sh +++ b/travis/scripts/print_error_logs.sh @@ -1,7 +1,5 @@ #!/bin/bash -ls ~ - for log_file in hs_err_*.log; do echo "Error log ${log_file}:" cat ${log_file}