Link Details

Link 101588 thumbnail
User 281268 avatar

By minidxer
via ntt.cc
Published: Aug 07 2008 / 20:59

When I compile a project including thousands MXML and AS files with Flex Ant, I got an error message as below displayed in the Console panel of Flex Builder: 1. java.lang.OutOfMemoryError: Java heap space 2. at java.util.HashMap.resize(Unknown Source) 3. at java.util.HashMap.addEntry(Unknown Source) It seems that the memory usage of my JRE reaches its limitation — as we know, Flex Builder is running in JRE. Here is a simple way to solve this problem. It‘s just changing the preferences settings of Flex Builder(@see ww.ntt.cc ).
  • 5
  • 1
  • 843
  • 94

Comments

Add your comment
User 182143 avatar

mezmo replied ago:

0 votes Vote down Vote up Reply

A coworker created a Maven plugin wrapping the flex ant task, and we had to set not only that, but the PermSizeMax to something like 512m as well. Well see how it goes as we progress with this project.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (1)