lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1242447 - /lucene/dev/nightly/common-maven.sh
Date Thu, 09 Feb 2012 18:33:01 GMT
Author: sarowe
Date: Thu Feb  9 18:33:01 2012
New Revision: 1242447

URL: http://svn.apache.org/viewvc?rev=1242447&view=rev
Log:
Try to avoid permgen OOMs

Modified:
    lucene/dev/nightly/common-maven.sh

Modified: lucene/dev/nightly/common-maven.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/common-maven.sh?rev=1242447&r1=1242446&r2=1242447&view=diff
==============================================================================
--- lucene/dev/nightly/common-maven.sh (original)
+++ lucene/dev/nightly/common-maven.sh Thu Feb  9 18:33:01 2012
@@ -21,7 +21,9 @@ for TopLevelDir in lucene modules solr ;
         echo ">>> Done packaging in $TopLevelDir/"
         # After compile/javadoc, always use Java 1.6 for Maven Ant Tasks
         echo ">>> Generating the Maven snapshot artifacts in $TopLevelDir/"
-        JAVA_HOME=$JAVA_HOME_16 ANT_OPTS=-Xmx128m $ANT_HOME/bin/ant \
+        ANT_OPTS="-Xmx256m -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128M" \
+            JAVA_HOME=$JAVA_HOME_16 \
+            $ANT_HOME/bin/ant \
             -Dsvnversion.exe=$SVNVERSION_EXE \
             -Dsvn.exe=$SVN_EXE \
             generate-maven-artifacts



Mime
View raw message