Skip to main content
markc888
Inspiring
June 28, 2012
Question

AIR iOS app holding on to CPU usage

  • June 28, 2012
  • 1 reply
  • 956 views

I'm experiencing some very strange behaviour from my app regarding CPU usage on an iPad1. I noticed this whilst testing the app using XCode Instruments - Activity monotor.

I decided to create an empty app, nothing in it, no listeners, no display list and publish it.

When installed and launched on the iPad1 it was using a strady 2.5% cpu.

After I tap on the screen a few times I see the cpu usage rise, but not decrease. I'm currently looking at a 30% - 40% constant cpu usage for an empty app. It seems as though the app is not letting go of it's cpu resources, even though it obviously doesn't need it.

Does anyone have an idea why this is happening and what can be done to prevent it?

Thanks.

Details:

Flash Pro CS5.5

AIR 3.2

iPad1 running iOS 5.1.1

App published with CPU render mode.

I also published the same empty app using GPU render mode and got a similar result.

This topic has been closed for replies.

1 reply

Abhinav_Dhandh
Adobe Employee
Adobe Employee
June 29, 2012

Hi Mark

I tried to reproduce the issue with AIR 3.2 on Ipad 1 (5.1.1) according to the conditions which you have specified. The CPU usage was at steady 2.3% initially with a rise to 14% on heavy tapping which returned back to 2.3%  on stopping taps.

It would be helpful if you could specify the Deployment type (Quick, AppStore) & share the SWF+XML so that I could have a look into the issue again.

Thanks

Abhinav

Participant
March 2, 2015

I have the same problem developing prototypes on Fash CC 2014. No matter which SDK I use whether it is 13 (iOS 4.3 and up) or version 16 (iOS 5.1.1 and up)

I got 2.5% CPU as long as the monitor an the app is turned on with the empty app doin nothing beside showing a empty canvas.

The app contains no as3 code. So it is completely empty.

When I change the FPS from 24 to 60 the CPU usage will go up to about 4%.

I compiled the IPA in the "App Store" mode. So it should be at least the fastest from this point I guess.

any Ideas would be great to have an AIR app running on iOS with zero CPU.