that will have no effect. -Xmx doens't affect perm gen.
http://wiki.jboss.org/wiki/Wiki.jsp?page=PermanentGeneration
Nick Burch wrote:
On Wed, 30 May 2007, Everitt, Glenn wrote:
All of the test failures seem to be:
java.lang.OutOfMemoryError: PermGen space
Try increasing the amount of memory you allocate to java. Since you're
running ant, you can't just tack on -Xmx, instead you need to pop that
in the environment variable ANT_OPTS
On unix, try:
ANT_OPTS=-Xmx512m ant test
and that'll tell ant to run under a JVM with 512mb of memory for the
heap size
It executes successfully. The problem is I don't know how to build a
distribution without using "clean-dist"
You can just edit your build.xml. Find the line
<target name="dist" depends="clean, fail-unless-to.....
and remove clean from the depends list.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
--
Buni Meldware Communication Suite
http://buni.org
Multi-platform and extensible Email,
Calendaring (including freebusy),
Rich Webmail, Web-calendaring, ease
of installation/administration.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/