You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gr...@apache.org on 2017/03/24 16:22:56 UTC

[2/2] flink git commit: [FLINK-6128] [tests] Optimize JVM options to improve test performance

[FLINK-6128] [tests] Optimize JVM options to improve test performance

Decrease the time to run TravisCI builds and reduce OOM by
- increasing the heap size
- switching to Java's serial garbage collector
- removing the UseGCOverheadLimit option

This closes #3571


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/976e03c1
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/976e03c1
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/976e03c1

Branch: refs/heads/master
Commit: 976e03c1ee0c1ac03e7755aef6a38ee0abc35b2f
Parents: 524b20f
Author: DmytroShkvyra <ds...@gmail.com>
Authored: Mon Mar 20 13:12:37 2017 +0200
Committer: Greg Hogan <co...@greghogan.com>
Committed: Fri Mar 24 12:20:18 2017 -0400

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/976e03c1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 17984d3..874bead 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1027,7 +1027,7 @@ under the License.
 						<forkNumber>0${surefire.forkNumber}</forkNumber>
 						<log4j.configuration>${log4j.configuration}</log4j.configuration>
 					</systemPropertyVariables>
-					<argLine>-Xms256m -Xmx800m -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit</argLine>
+					<argLine>-Xms256m -Xmx1536m -Dmvn.forkNumber=${surefire.forkNumber} -XX:+UseSerialGC</argLine>
 				</configuration>
 				<executions>
 					<!--execute all the unit tests-->