I keep getting “Java Heap Space” error. What is the JVM Memory requirements to build AIR apps with ant?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Found a solution. In the mxmlc task (or any others), make sure to set fork to true and maxmemory to at least 512m, such as:
The fork starts a new thread so the memory isn’t shared. And the maxmemory let’s the JVM know how much memory it can use.