setenv MAVEN_OPTS -Xmx512m
Scott Oaks wrote:
>If I attempt to build an installer:
>
>maven build-jarinstaller-pe
>
>I eventually get an error:
>
>BUILD FAILED
>File......
>/export/sdo/glassfish_workspace/Sep09/glassfish/bootstrap/maven.xml
>Element... ant:ant
>Line...... 554
>Column.... 94
>Java heap space
>Total time: 19 minutes 13 seconds
>Finished at: Fri Sep 22 17:28:43 EDT 2006
>
>
>So clearly I need to increase the Java heap size used by the maven ant
>task, except I can't figure out how to do that. Does anyone know? And if
>the heap size needs to be increased for this task, why isn't that the
>default?
>
>-Scott
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>