nulldesign // lars gerckens » Issues with ANT and Out of memory error

Issues with ANT and Out of memory error

Finally my macbook arrived and I got everything set up and started working (Yes, I switched finally ;)). In one of my projects I have to compile a large flex project quite often, so I use ANT directly in the shell.

On Windows it was never a problem, but in OS X I always got: “java.lang.OutOfMemoryError: Java heap space”. After quite a journey through the depths of the web I found the place where to increase the memory size and I thought that’s might be interesting for you:

Just create a file called ant.conf in /etc (Use sudo to create the file) and paste this line: ANT_OPTS=’-Xmx1024m -XX:MaxPermSize=128m’ Done!

18. May 2009 | Posted in Flex, Talk

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Trackback this post  |  Subscribe to the comments via RSS Feed

About

  • nulldesign is the company and showcase site of freelance developer Lars Gerckens who is based in Hamburg, Germany. I'm available for freelance work with focus on Flex, Flash and AIR development. I like to create dynamic user interfaces, cutting edge web experiences and innovative ways to visualize data.

    This site showcases some of my personal work and projects as well as an selection of commercial projects.

    If you are interested in my work or you have any questions, don't hesitate to drop me a line:

  • Profiles: Xing | Linkedin
  • Mail: lars [at] nulldesign [dot] de

Categories

Search