Highlighted

air ios app crashing after loading too many resources

New Here ,
Jan 30, 2017

Copy link to clipboard

Copied

we have an app the works fine on android devices but crashes in ios after reaching the memory cap. A little bit about the app: it has a preloader which loads bunch of other swfs included in the .ipa itself. Each swf has high quality images which are quite big. Editing the app at this stage is impossible as it would consume too much time so we are thinking about finding a fix from the memory side. The swf's have as3 in them so we are using loader context with domain specification to load them. They are working fine so far as far as ABC is concerned.

Is there a way to free up memory every time a new frame is loaded. I'm asking this because the whole app is just clicking buttons to load next frame or go back to previous frame. Any suggestion or help would be appreciated.

NOTE: I used xcode's instruments to check out the memory usage, it looked something like this:

j161t.png

TOPICS
Development

Views

204

Likes

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

air ios app crashing after loading too many resources

New Here ,
Jan 30, 2017

Copy link to clipboard

Copied

we have an app the works fine on android devices but crashes in ios after reaching the memory cap. A little bit about the app: it has a preloader which loads bunch of other swfs included in the .ipa itself. Each swf has high quality images which are quite big. Editing the app at this stage is impossible as it would consume too much time so we are thinking about finding a fix from the memory side. The swf's have as3 in them so we are using loader context with domain specification to load them. They are working fine so far as far as ABC is concerned.

Is there a way to free up memory every time a new frame is loaded. I'm asking this because the whole app is just clicking buttons to load next frame or go back to previous frame. Any suggestion or help would be appreciated.

NOTE: I used xcode's instruments to check out the memory usage, it looked something like this:

j161t.png

TOPICS
Development

Views

205

Likes

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
Jan 30, 2017 0

Have something to add?

Join the conversation