> 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: [email protected]
For additional commands, e-mail: [email protected]