In Flexbuilder : windows | preferences | java | installed JREs (select the JRE), edit, enter something like "-Xmx512M" in the default VM arguments field Is what has worked for me in the past. There may be other ways and other arguments, however (depending on your scenario, you may not be running ANT from flexbuilder I guess). I have a feeling that ANT_OPTS may be a more specific way of increasing memory available to ANT only, no idea if you can set it as above - I'm very far from expert in these things. It was extremely annoying at the time, and took me a little while to work it out even after a good search of the list archives and a general google (probably due to my ignorance, I have to admit) Any further explainations/info/links would be read with interest by myself, for one. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ivo Sent: 29 December 2008 21:32 To: [email protected] Subject: Re: [flexcoders] mxmlc | Java heap space 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 <[email protected]> To: [email protected] 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????? <target name="compileNavigation"> <mxmlc file="${navigation. src}\NavigationM odule.mxml" failonerror="true" output="${navigation. output}" fork="true"> <compiler.include- libraries dir="${navigation. lib}" append="true" > <include name="VisualGraph. swc"/> </compiler.include- libraries> <compiler.include- libraries dir="${sowLibrary. lib}" append="true"> <include name="ria_msflexlib_ flex3.swc"/> <include name="Cairngorm.swc"/> </compiler.include- libraries> <compiler.include- libraries dir="${sowLibrary. bin}" append="true"> <include name="sowLibrary.swc"/> </compiler.include- libraries> </mxmlc> </target> Thanks ilikeflex ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________

