aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2014-03-27 11:49:11 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-03-27 11:55:29 -0700
commit53953d0933c0a7c3bd3bc1003954426363912e4b (patch)
treef75b48aaec34c1a0c6805acdb875095e620885ec /pom.xml
parent426042ad24a54b4b776085cbf4e1896464efc613 (diff)
downloadspark-53953d0933c0a7c3bd3bc1003954426363912e4b.tar.gz
spark-53953d0933c0a7c3bd3bc1003954426363912e4b.tar.bz2
spark-53953d0933c0a7c3bd3bc1003954426363912e4b.zip
SPARK-1335. Also increase perm gen / code cache for scalatest when invoked via Maven build
I am observing build failures when the Maven build reaches tests in the new SQL components. (I'm on Java 7 / OSX 10.9). The failure is the usual complaint from scala, that it's out of permgen space, or that JIT out of code cache space. I see that various build scripts increase these both for SBT. This change simply adds these settings to scalatest's arguments. Works for me and seems a bit more consistent. (I also snuck in cures for new build warnings from new scaladoc. Felt too trivial for a new PR, although it's separate. Just something I also saw while examining the build output.) Author: Sean Owen <sowen@cloudera.com> Closes #253 from srowen/SPARK-1335 and squashes the following commits: c0f2d31 [Sean Owen] Appease scalastyle with a newline at the end of the file a02679c [Sean Owen] Fix scaladoc errors due to missing links, which are generating build warnings, from some recent doc changes. We apparently can't generate links outside the module. b2c6a09 [Sean Owen] Add perm gen, code cache settings to scalatest, mirroring SBT settings elsewhere, which allows tests to complete in at least one environment where they are failing. (Also removed a duplicate -Xms setting elsewhere.)
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index f0644ed284..72acf2b402 100644
--- a/pom.xml
+++ b/pom.xml
@@ -646,7 +646,6 @@
<arg>-deprecation</arg>
</args>
<jvmArgs>
- <jvmArg>-Xms64m</jvmArg>
<jvmArg>-Xms1024m</jvmArg>
<jvmArg>-Xmx1024m</jvmArg>
<jvmArg>-XX:PermSize=${PermGen}</jvmArg>
@@ -689,7 +688,7 @@
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>${project.build.directory}/SparkTestSuite.txt</filereports>
- <argLine>-Xms64m -Xmx3g</argLine>
+ <argLine>-Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine>
<stderr />
</configuration>
<executions>