Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8002061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:15:25+00:00 2026-06-04T16:15:25+00:00

I’m creating some flash game using Adobe AIR. I try to compile it into

  • 0

I’m creating some flash game using Adobe AIR. I try to compile it into .ipa file (to run on iPad device).

The project is not big, but not small also (it uses 6 swc libraries and lot’s of not precompiled code). I try to package my game with Flash FDT 5.5 using both methods:

  • fast – works ok, but the performance is terrible;
  • standard – my compilation finishes with following error:

Packaging failed! Packaging error message: Picked up
JAVA_TOOL_OPTIONS: -Xmx3072M Exception in thread “main”
java.lang.OutOfMemoryError: Java heap space at
java.util.TreeMap.put(Unknown Source) at
adobe.abc.Algorithms$SetMap.get(Algorithms.java:225) at
adobe.abc.Algorithms.addUses(Algorithms.java:164) at
adobe.abc.Algorithms.findUses(Algorithms.java:186) at
adobe.abc.GlobalOptimizer.cp(GlobalOptimizer.java:9381) at
adobe.abc.GlobalOptimizer.dce(GlobalOptimizer.java:9627) at
adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4638) at
adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514) at
adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215) at
adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:527) at
adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:337) at
com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:510)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:80)
Picked up JAVA_TOOL_OPTIONS: -Xmx3072M Compilation failed while
executing : ADT Picked up JAVA_TOOL_OPTIONS: -Xmx3072M Picked up
JAVA_TOOL_OPTIONS: -Xmx3072M

I know that this is common issue with Eclipse devlopment. I tried to solve that in standard way -> increase java heap size. As you can see I’ve set 3072M which should be sufficient.

When I try to compile smaller projects it works fine. I’ve got no idea what to do now :(. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:15:26+00:00Added an answer on June 4, 2026 at 4:15 pm

    After deep investigation I’ve found a solution. It was NOT due to any enviromnent configuration, but, as @Alan said, Adobe’s packager was running into problems. As I suppose, it was meeting problems while ‘optimalization’ phase.

    Here’s a forum topic that was really usefull: http://forums.adobe.com/message/4445973#4445973

    My project was using NAPE physic engine. As I found there: http://deltaluca.me.uk/forum/index.php/m/2148/0ce4c49cc2c79979154c56737d2978a4/ people meet problems with compilation time. In my case the compilation time was infinity ;), what ended with java’s out of memory exception. The solution was to use newest NAPE build, which was a little bit optimalized by the author. This ‘small optimalization’ made my project working.

    To sum up: if you have similiar problem, just check your code. Try to find some huge functions/methods, which Adobe’s packager finds hard to optimalize.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.