Thanks venkat. Where do I set ANT_OPTS? Can I set it within FlexBuilder? or in my ant build.xml file anywhere?
Gary --- In flexcoders@yahoogroups.com, "rueter007" <[EMAIL PROTECTED]> wrote: > > set the following environment variable before the build depending on > your platform. > > set ANT_OPTS=-Xmx500M > or > set ANT_OPTS=-Xmx500M ; export ANT_OPTS > > - venkat > > --- In flexcoders@yahoogroups.com, ivo <cervantes_vive@> wrote: > > > > I have a machine with 4GB of memory on which I develop an app using > Flex Builder 3 with no problems. Whenever I try to build the project > from the command-line thru an Ant task tho I get a: > > > > [mxmlc] Error: Java heap space > > [mxmlc] java.lang.OutOfMemoryError: Java heap space > > > > I edited the file flex3sdk_be_121207/bin/jvm.config so that the heap > space is increased to 1GB but I still keep getting this error. > > > > Does anyone have any suggestions on how can I address this? I am > trying to make builds outside of Flex Builder so they can be automated. > > > > Thanks, > > > > - Ivo > > >