• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

FB 4.7 iOS packaging - Exception in thread "main" java.lang.OutOfMemoryError"

New Here ,
Feb 22, 2013 Feb 22, 2013

Copy link to clipboard

Copied

I have been having issues with FlashBuilder 4.7 and packaging my Flex Mobile application for iOS (simulator, or for install on device).

The funny thing is it used to work just fine before a OSX system update.

My machine is Macbook Pro, 2.66 GHz i7, Mac OSX Lion 10.7.5, 8GB

When I run application to install on device I get the error...

Error occurred while packaging the application:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

          at com.adobe.png.PNGReader.readChunk(PNGReader.java:60)

          at com.adobe.png.PNGUtils.updatePNGMetadata(PNGUtils.java:56)

          at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:700)

          at com.adobe.air.ADTOutputStream.addFileFromStream(ADTOutputStream.java:307)

          at com.adobe.air.ADTOutputStream.addFileFromStream(ADTOutputStream.java:300)

          at com.adobe.air.ipa.IPAOutputStream.addSpecialIcon(IPAOutputStream.java:272)

          at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:256)

          at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:72)

          at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:245)

          at com.adobe.air.ADT.parseArgsAndGo(ADT.java:571)

          at com.adobe.air.ADT.run(ADT.java:419)

          at com.adobe.air.ADT.main(ADT.java:469)

I have tried uninstalling/ reinstalling Flash Builder 4.7 multiple times

I get this error no matter which AIR SDK I am using, 3.1, 3.4, 3.5, 3.6.

I get this error with a blank fresh project.

Please anyone, can you help me solve this.

Views

879

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Feb 26, 2013 Feb 26, 2013

I solved this. It turns out the app icons were corrupt. After removing them and replacing them with new files this error went away.

Votes

Translate

Translate
Explorer ,
Feb 26, 2013 Feb 26, 2013

Copy link to clipboard

Copied

LATEST

I solved this. It turns out the app icons were corrupt. After removing them and replacing them with new files this error went away.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines