storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From knusb...@apache.org
Subject [1/4] storm git commit: STORM-1436: Set Travis Heap size to fit in memory limits.
Date Wed, 10 Feb 2016 19:55:21 GMT
Repository: storm
Updated Branches:
  refs/heads/master 5f1cba55a -> 5536fb3da


STORM-1436: Set Travis Heap size to fit in memory limits.


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

Branch: refs/heads/master
Commit: a776faf9cc1d52bf291755dac52aefe041ea1d23
Parents: 53e44ff
Author: Robert (Bobby) Evans <evans@yahoo-inc.com>
Authored: Tue Feb 9 16:30:34 2016 +0000
Committer: Robert (Bobby) Evans <evans@yahoo-inc.com>
Committed: Tue Feb 9 18:13:38 2016 +0000

----------------------------------------------------------------------
 dev-tools/travis/travis-script.sh | 4 +++-
 external/storm-mqtt/core/pom.xml  | 4 ++--
 pom.xml                           | 2 ++
 3 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/a776faf9/dev-tools/travis/travis-script.sh
----------------------------------------------------------------------
diff --git a/dev-tools/travis/travis-script.sh b/dev-tools/travis/travis-script.sh
index 7f00cb4..4984a57 100755
--- a/dev-tools/travis/travis-script.sh
+++ b/dev-tools/travis/travis-script.sh
@@ -24,8 +24,10 @@ cd ${STORM_SRC_ROOT_DIR}
 
 # We should be concerned that Travis CI could be very slow because it uses VM
 export STORM_TEST_TIMEOUT_MS=150000
+# Travis only has 3GB of memory, lets use 1GB for build, and 1.5GB for forked JVMs
+#export MAVEN_OPTS="-Xmx1024m"
 
-mvn --batch-mode test -fae -Pnative,all-tests -Prat -pl $2
+mvn --batch-mode test -fae -Pnative,all-tests -Prat -pl "$2"
 BUILD_RET_VAL=$?
 
 for dir in `find . -type d -and -wholename \*/target/\*-reports`;

http://git-wip-us.apache.org/repos/asf/storm/blob/a776faf9/external/storm-mqtt/core/pom.xml
----------------------------------------------------------------------
diff --git a/external/storm-mqtt/core/pom.xml b/external/storm-mqtt/core/pom.xml
index 8ef6949..dbb0396 100644
--- a/external/storm-mqtt/core/pom.xml
+++ b/external/storm-mqtt/core/pom.xml
@@ -94,7 +94,7 @@
                     <includes>
                         <include>${java.unit.test.include}</include>
                     </includes>
-                    <argLine>-Djava.net.preferIPv4Stack=true</argLine>
+                    <argLine>-Djava.net.preferIPv4Stack=true -Xmx1536m</argLine>
                 </configuration>
             </plugin>
             <plugin>
@@ -109,7 +109,7 @@
                         <include>${java.integration.test.include}</include>
                     </includes>
                     <groups>${java.integration.test.group}</groups>  <!--set
in integration-test the profile-->
-                    <argLine>-Djava.net.preferIPv4Stack=true</argLine>
+                    <argLine>-Djava.net.preferIPv4Stack=true -Xmx1536m</argLine>
                 </configuration>
                 <executions>
                     <execution>

http://git-wip-us.apache.org/repos/asf/storm/blob/a776faf9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 831059a..bfadd21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -868,6 +868,7 @@
                         <includes>
                             <include>${java.unit.test.include}</include>
                         </includes>
+                        <argLine>-Xmx1536m</argLine>
                     </configuration>
                 </plugin>
                 <plugin>
@@ -879,6 +880,7 @@
                             <include>${java.integration.test.include}</include>
                         </includes>
                         <groups>${java.integration.test.group}</groups>  <!--set
in integration-test the profile-->
+                        <argLine>-Xmx1536m</argLine>
                     </configuration>
                     <executions>
                         <execution>


Mime
View raw message