Hello. I have huge problem.
App is randomly crashes on AssetManager.loadQueue() call.
When app page is changes, I clean assetManager(dispose and purge), then adding new resources to assetManager, and calling loadQueue(). At this moment app is crashes without any errors in log.
It can happen at any page change. Sometimes i can change 20 pages without crash, and sometimes it can crash at second page change - it`s totally random.
I`m load some types of content - atf atlasses, xmls, jsons, fonts, zips.
Starling.handleLostContext is false for ios.
System.pauseForGCIfCollectionImminent(.1) is not helps.
Delay before loading in not helps.
Changing numConnections to 1 is not helps.
It happens on ios 8 and 9 on different devices (iphone 4, iphone 5s, ipad 2). But on windows and android evething is ok.
I`m using air 21 and 22beta and starling 1.8 (latest from github).
Interesting thing. At first, the application contained only a high resolution textures, then I added smaller resolution textures for lowend devices. And with smaller textures crashes occur more frequently.
Any ideas how to fix this problem? Maybe write my own custom resource loader?