[FLINK-1498] [tests] Set a minimal JVM size to prevent NIO memory problems

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

Branch: refs/heads/master
Commit: 30a52a0cea6c47d9813280f24229b849569b75a6
Parents: 6ddfcb4
Author: Stephan Ewen <se...@apache.org>
Authored: Mon Feb 9 16:27:02 2015 +0100
Committer: Stephan Ewen <se...@apache.org>
Committed: Mon Feb 9 17:45:48 2015 +0100

----------------------------------------------------------------------
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/30a52a0c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 01d4c25..01ce500 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1043,7 +1043,7 @@ under the License.
                                                <exclude>**/target/**</exclude>
                                                <exclude>docs/_site/**</exclude>
                                                
<exclude>**/scalastyle-output.xml</exclude>
-                        <exclude>build-target/**</exclude>
+                                               
<exclude>build-target/**</exclude>
                                        </excludes>
                                </configuration>
                        </plugin>
@@ -1099,7 +1099,7 @@ under the License.
                                                  the property is null when we 
have just the variable-->
                                                
<forkNumber>0${surefire.forkNumber}</forkNumber>
                                        </systemPropertyVariables>
-                                       <argLine>-Xmx800m 
-Dlog4j.configuration=log4j-test.properties -XX:-UseGCOverheadLimit</argLine>
+                                       <argLine>-Xms256m -Xmx800m 
-Dlog4j.configuration=log4j-test.properties -XX:-UseGCOverheadLimit</argLine>
                                </configuration>
                        </plugin>
                        <plugin>
@@ -1112,7 +1112,7 @@ under the License.
                                        <systemPropertyVariables>
                                                
<forkNumber>0${surefire.forkNumber}</forkNumber>
                                        </systemPropertyVariables>
-                                       <argLine>-Xmx800m 
-Dlog4j.configuration=log4j-test.properties -XX:-UseGCOverheadLimit</argLine>
+                                       <argLine>-Xms256m -Xmx800m 
-Dlog4j.configuration=log4j-test.properties -XX:-UseGCOverheadLimit</argLine>
                                </configuration>
                        </plugin>
                        <plugin>

Reply via email to