Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-4205: Add permgen space for Clover runs and raise memory for nightly jenkins builds, too.

Uwe Schindler5b6bd1aa5351
diff --git a/build.xml b/build.xml
index 501a66bb918..f365a9a1491 100644
--- a/build.xml
+++ b/build.xml
@@ -369,6 +369,16 @@
<!-- Jenkins tasks -->
<target name="jenkins-hourly" depends="clean,test-with-heapdumps,validate,documentation-lint,jar-checksums,check-svn-working-copy"/>
+ <target name="jenkins-nightly">
+ <antcall>
+ <!-- raise memory limits a bit, this only works with OpenJDK / Oracle JDK: -->
+ <param name="tests.nightly" value="true"/>
+ <param name="tests.heapsize" value="768m"/>
+ <param name="args" value="-XX:MaxPermSize=192m"/>
+ <target name="jenkins-hourly"/>
+ </antcall>
+ </target>
+
<target name="jenkins-maven-nightly" depends="clean,clean-maven-build">
<!-- step 1: build, install, deploy, and validate ANT-generated maven artifacts: -->
<antcall>
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 28acddebefc..92ed0f4a287 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -106,7 +106,7 @@
</condition>
<property name="tests.heapsize" value="512M"/>
- <condition property="tests.clover.args" value="-XX:ReservedCodeCacheSize=128m">
+ <condition property="tests.clover.args" value="-XX:ReservedCodeCacheSize=128m -XX:MaxPermSize=192m">
<isset property="run.clover"/>
</condition>
<property name="tests.clover.args" value=""/>