In case anyone has this issue using Maven, try setting environment variable MAVEN_OPTS="-Xmx512"
--- In flexcoders@yahoogroups.com, ivo <cervantes_v...@...> wrote: > > Hi, > > This has come up before. You need to increase the memory available to Java and Ant. Search the archives for ANT_OPTS > > - Ivo > > > > > ________________________________ > From: ilikeflex <ilikef...@...> > To: flexcoders@yahoogroups.com > Sent: Monday, December 29, 2008 1:26:26 PM > Subject: [flexcoders] mxmlc | Java heap space > > > Hi > I am compiling the module and i get the error below > Error: Java heap space > java.lang.OutOfMemo ryError: Java heap space > Any pointer????? > <targetname="compileNavigation"> <mxmlcfile="${navigation. src} \NavigationM odule.mxml" failonerror="true" output="${navigation. output}" fork="true"> > <compiler.include- librariesdir="${navigation. lib}" append="true" > > <includename="VisualGraph. swc"/> > </compiler.include- libraries> > <compiler.include- librariesdir="${sowLibrary. lib}" append="true"> > <includename="ria_msflexlib_ flex3.swc"/> > <includename="Cairngorm.swc"/> > </compiler.include- libraries> > <compiler.include- librariesdir="${sowLibrary. bin}" append="true"> > <includename="sowLibrary.swc"/> > </compiler.include- libraries> > </mxmlc> > </target> > > Thanks > ilikeflex >