5 Replies Latest reply on Jun 10, 2010 10:21 AM by Jason San Jose

    OutOfMemoryError when compiling my app with Ant

    asafdsadfasddfsas Level 1

      I'm having a hard time compiling my application using Flex 3 Ant tasks. When I compile it in Flex Builder, using the default compiler, everything works fine. But when I try to build it from the command line, I always get the following error:


      [mxmlc] Error: Java heap space

      [mxmlc] java.lang.OutOfMemoryError: Java heap space


      I have already tried setting the following in FlexBuilder.ini and ANT_OPTS




      Still giving the same error. Please let me know your suggestions.


      -Thanks in Advance.