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 [email protected], ivo <[EMAIL PROTECTED]> 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
>


Reply via email to