lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: [JENKINS] Lucene-Solr-4.x-Windows (32bit/jdk1.7.0_09) - Build # 2121 - Failure!
Date Tue, 11 Dec 2012 07:52:12 GMT
> export ANT_OPTS='-Xmx1g -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Djava.awt.headless=true'

Or if you mean to just increase the heap of test JVMs then do:

ant (blahblah) -Dtests.heapsize=1g

or something. This is specified in common-build.xml around here:

        <junit4:junit4
            dir="@{tempDir}"
            tempdir="@{tempDir}"
            maxmemory="${tests.heapsize}"

You can also pass arbitrary commands to forked JVMs using -Dargs=...
because of this line:

        <jvmarg line="${args}"/>

So -Dargs="-Xmx1g" should give you the same effect.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message