Re: OutOfMemoryError when compiling with javac

2006-07-20 Thread Graham Leggett
Brett Porter wrote: Depends on whether javac is forked. You can change that and the memory using the properties here: http://maven.apache.org/maven-1.x/plugins/java/properties.html I eventually gave up on maven1 and used maven2 instead. The xmlbeans-maven-plugin includes the required memory

OutOfMemoryError when compiling with javac

2006-07-19 Thread Graham Leggett
Hi all, I have a maven 1 configuration that builds the IFX and ACORD schemas using xmlbeans. This step works, however the second step - compiling the generated code - fails with an OutOfMemoryError. I tried setting the MAVEN_OPTS environment variable to jack up the -Xmx to 2GB of RAM, but

Re: OutOfMemoryError when compiling with javac

2006-07-19 Thread Brett Porter
On 20/07/2006 5:20 AM, Graham Leggett wrote: - Does adding -Xmx2048M to MAVEN_OPTS affect the amount of RAM available to javac when it is called by maven, or is there a different option that should be used? Does MAVEN_OPTS have any effect on javac at all? Depends on whether javac is forked.