aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorAdam Roberts <aroberts@uk.ibm.com>2015-06-11 08:40:46 +0100
committerSean Owen <sowen@cloudera.com>2015-06-11 08:40:46 +0100
commit6b68366df345d4572cf138f9efe17e23d0d1971e (patch)
tree7fe380204ad6f9f466984a9ba9afa1596f0419e2 /pom.xml
parente84545fa771dde90de5675a9c551fe287af6f7fb (diff)
downloadspark-6b68366df345d4572cf138f9efe17e23d0d1971e.tar.gz
spark-6b68366df345d4572cf138f9efe17e23d0d1971e.tar.bz2
spark-6b68366df345d4572cf138f9efe17e23d0d1971e.zip
[SPARK-8289] Specify stack size for consistency with Java tests - resolves test failures
This change is a simple one and specifies a stack size of 4096k instead of the vendor default for Java tests (the defaults vary between Java vendors). This remedies test failures observed with JavaALSSuite with IBM and Oracle Java owing to a lower default size in comparison to the size with OpenJDK. 4096k is a suitable default where the tests pass with each Java vendor tested. The alternative is to reduce the number of iterations in the test (no observed failures with 5 iterations instead of 15). -Xss works with Oracle's HotSpot VM, IBM's J9 VM and OpenJDK (IcedTea). I have ensured this does not have any negative implications for other tests. Author: Adam Roberts <aroberts@uk.ibm.com> Author: a-roberts <aroberts@uk.ibm.com> Closes #6727 from a-roberts/IncJavaStackSize and squashes the following commits: ab40aea [Adam Roberts] Specify stack size for SBT builds 5032d8d [a-roberts] Update pom.xml
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index e9700a5d7b..6d4f717d49 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1244,7 +1244,7 @@
<include>**/*Suite.java</include>
</includes>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
- <argLine>-Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine>
+ <argLine>-Xmx3g -Xss4096k -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine>
<environmentVariables>
<!--
Setting SPARK_DIST_CLASSPATH is a simple way to make sure any child processes