I ported the Flex 4 codebase to iOS using adobe packager, but ran into a problem while trying to pack our entire codebase. The sachet works for a while and then throws an OutOfMemoryError - even if I increase the java heap size to 4 GB.
No single piece of code causes a problem because it compiles successfully if I cut large chunks of code and I can change which chunks I omit. This may be due to the size of the code itself.
I recorded a very detailed error report with adobe here: http://bugs.adobe.com/jira/browse/FB-32192 . It includes an AIRI file that you can package to reproduce the problem, a ruby ββscript that generates ActionScript code to create this AIRI file, and a summary of all the things I tried before reporting the error.
Has anyone else tried to compile large projects with an iOS packer? Are there any known workarounds?
karl
source share