Skip to content
Snippets Groups Projects
Commit 8d81358a authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Provide more memory for tests

parent ab0e625d
No related branches found
No related tags found
No related merge requests found
...@@ -492,7 +492,7 @@ ...@@ -492,7 +492,7 @@
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml> <junitxml>.</junitxml>
<filereports>${project.build.directory}/SparkTestSuite.txt</filereports> <filereports>${project.build.directory}/SparkTestSuite.txt</filereports>
<argLine>-Xms64m -Xmx1024m</argLine> <argLine>-Xms64m -Xmx3g</argLine>
<stderr/> <stderr/>
</configuration> </configuration>
<executions> <executions>
......
...@@ -86,7 +86,7 @@ object SparkBuild extends Build { ...@@ -86,7 +86,7 @@ object SparkBuild extends Build {
// Fork new JVMs for tests and set Java options for those // Fork new JVMs for tests and set Java options for those
fork := true, fork := true,
javaOptions += "-Xmx2500m", javaOptions += "-Xmx3g",
// Only allow one test at a time, even across projects, since they run in the same JVM // Only allow one test at a time, even across projects, since they run in the same JVM
concurrentRestrictions in Global += Tags.limit(Tags.Test, 1), concurrentRestrictions in Global += Tags.limit(Tags.Test, 1),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment