AIR iOS app - how much memory consumption is too much?

Hi All,
I have a Flex-based AIR app that runs fine on Android.
On iOS (iPhone 4) it freezes after it's been running for a while, and I suspect that the problem is that the app is consuming too much memory.
I'm looking at System.totalMemoryNumber, and it is reporting that the app is using between 17 and 23 MB right before it freezes.
Is this a lot for an iOS app?
Is there a better way for me to examine/research/diagnose this? I've done a lot of searching and it doesn't appear that AIR apps get any warning from iOS that memory is getting low...
Thanks in advance! 
Douglas

Hi All,
I'm answering at least part of my own question...
I created a test app that added 10K characters to a string on each enterFrame, then ran it until it crashed. It seems to consistently get up to around 175 MB (as reported by System.totalMemoryNumber) before it crashes.
This happened both with and without multiple other apps running in the background.
As mentioned above, this is on an iPhone 4.
So it appears that my current problem isn't caused by excessive memory consumption.
Douglas

Similar Messages

  • Reduce publishing time for Air iOS apps?

    Hi,
    Currently it's taking my machine up to  4 minutes to publish an Air iOS app.
    Are there any settings or hacks I could try to reduce the time?
    I'm using Flash CS 6 + AIR SDK 16 on a Windows 8.1 laptop.
    Stats:
    - Intel Pentium Prozessor (1,5 GHz, Intel HD Graphics, Microsoft Windows 8, 64-bit)
    - 4 GB DDR3-RAM
    - 500 GB Hybrid-SSHD-Festplatte with 8 GB SSD
    Thanks for any tips.

    Hi,
    I'm really interested in this feature as well. Have spent a bit of time attempting to get one running through a native extension but it doesn't appear to work. I believe something in the AIR build process is blocking the components required. I've tried several methods so far:
    packaging the appex with an ANE
    packaging the appex with the AIR container app
    using a class instead of a storyboard
    But nothing seems to be working. This is even before the app extension is doing anything. My guess is that the plist file specifying the app extension isn't correctly being included in the application but I have no idea how to update it to test.

  • Load an interactive slide into an AIR iOS app. Is it possible?

    HI,
    Imagine having a Flash app which could dynamically load an external interactiveSlide.swf with which you could interact with. You could then unload/remove the interactiveSlide.swf.
    I'm wanting to create a similar model for iOS.
    So I create my AIR iOS app that can dynamically load external content. My question is does anyone have any ideas how I could package the interactiveSlide so it could be loaded by the AIR/iOS app?
    .swf obviously wouldn't work.
    Thanks,
    Mark

    HI Chris,
    Thanks for taking the time to reply.
    Could you expand on your answer, which bit is very doubtful?
    Also in your knowledge would Apple work with a company and license it if the software they were developing was desired by consumer demand?
    Thanks
    Gary

  • Open local PDF inside Air iOS app

    I am developing an AIR for iOS app for the iPad. My client would like the app to open a local PDF file within the app, rather than launching an external app (such as Adobe Reader). This is to give a seamless experience when using the app. I've seen that distriqt.com produce the 'PDF Reader' Native Extension based on www.vfr.org. VFR appears to have a series of interface controls that open along with the PDF, which I don't require. I emailed Distriqt a week ago to clarify, and have had no response.
    Does anyone know of any other solutions to open a PDF inside an AIR iOS app?

    I've managed to load a PDF successfully inside my AIR iOS app, using the code from http://thatsthaway.wordpress.com/201...1/#comment-102.
    However, I've just come across a weird feature / bug when viewing a PDF using stagewebview. I have a PDF that contains several internal hyperlinks, each navigating to a page within the same PDF document. If I select any of the hyperlinks, they do jump to the intended pages. However, if I reselect the same hyperlink again, it no longer works. If I select a different hyperlink, and then reselect a previous link, it will then work, but if I select the same hyperlink twice in a row, without selecting a different hyperlink in between, the link fails to work. The PDF hyperlinks all work ok outside of my app, on both Windows desktop and an iPad, just not inside of the AIR app.
    Any ideas?

  • Is anybody else having their Adobe AIR iOS app crash within the first second of opening it?

    Is anybody else having their Adobe AIR iOS app crash within the first second of opening it?
    I am using iPhone 6, iOS 8.1.3, with a development certificate.
    With Adobe AIR SDK 16.0.0.283 and now with 17.0.0.93, after compiling the app (whether in release mode or debug mode), before the app getTimer() can ever reach 999 milliseconds the app will crash. No matter what code I have, it is just crashing before the runtime can ever reach the first second.
    Anybody else having this kind of behavior?

    Chris,
    Thanks for your prompt reply. I have found the way to reproduce. It is about interfaces, and when I try to call a method through an interface the app crashes. I think that it is related to having an interface with many parameters. I have logged the bug here:
    Bug#3935199 - iOS App crashes when calling an objects method through interface

  • Debug Air iOS app on device with Flash CS6?

    Hi,
    Is it possible to debug an Air iOS app on device to get all the trace() messages?
    I'm using Flash CS6 with the AIR SDK 16.
    Thanks

    Go to publish settings:
    - Select Quick publishing for device debugging and select your LAN/WIFI adapter IP from the list
    - Install IPA to your device
    - In Flash CS6 go to Debug panel -> Begin Remote Debug Session > ActionScript 3.0
    You will see:
    Waiting for Player to connect...
    in the output panel
    Now launch your application on your device. Be sure that you in the same WiFi network with your desktop. If Flash CS6 can't connect to the device and still waiting for it - try to disable firewall.

  • AIR iOS app as Remote controller

    Hi,
    Is it possible to build an AIR iOS app as a remote controller for an html based website?
    If it is what will be the direction to take?. I have been looking at the SocketServer API but is not clear to me that this is the answer.
    Any help or advise will be appreciated
    Thanks

    Solved!  ..."Full Screen Displays your application in fullscreen mode on the device. When this setting is enabled, the device’s status bar does not appear above your application. Your application fills the entire screen."

  • Sending Tweets via Adobe AIR iOS Apps

    Heya everyone.
    Is there a way that I can implement a tweet function into an AIR iOS app? I'm currently developing it in Flash Professional Actionscript 3. I understand that there's a method of doing it in Flex, but I have no knowledge in that area.
    Thanks .

    hey kglad, thanks for your help. things are a little clearer now.
    I had a look at the REST API Resources, and dug out the "POST statuses/update_with_media" which requires authentication. So I shall proceed with using tweetr's oAuth class.
    I've chosen to make the authentication a PINless one, since I'm currently dealin with an iPhone app, and I do not wish to disturb the user with a browser opening up everytime whenever an authentication is needed.
    I had a look through tweetr's pinless authentication tutorial and found this piece of code:
    oauth = new OAuth();
    oauth.consumerKey = "YOUR_CONSUMER_KEY";
    oauth.consumerSecret = "YOUR_CONSUMER_SECRET";
    oauth.callbackURL = "http://your.callback.url";
    oauth.pinlessAuth = true;
    oauth.addEventListener(OAuthEvent.COMPLETE, handleOAuthEvent);
    oauth.addEventListener(OAuthEvent.ERROR, handleOAuthEvent);
    var rect:Rectangle = new Rectangle(50,50, 780, 500);
    htmlLoader = HTMLLoader.createRootWindow(true, null, true, rect);
    oauth.htmlLoader = htmlLoader;
    oauth.getAuthorizationRequest();
    I'm guessing the above code goes into the constructor? Or into a private function itself where it'll be called when a button is pressed or something.
    Another question is, what is a request URL? It seems like the default address (according to my application details in dev.twitter.com) is http://api.twitter.com/1/. But that doesn't seem right at all.
    Cheers

  • I am planning on buying an iPad 4 16GB, So I wanted to ask that after taking out the storage consumed by the system and system apps, How much storage will I be left with?

    I am planning on buying an iPad 4 16GB, So I wanted to ask that after taking out the storage consumed by the system and system apps, How much storage will I be left with?

    16GB vs 32GB vs 64GB: Which new iPad storage capacity should you get?
    http://www.imore.com/2012/03/08/16gb-32gb-64gb-ipad-capacity/
    How much content will fit on my iPod or iPhone?
    http://support.apple.com/kb/HT1867
     Cheers, Tom

  • HT204387 Is there any chance that I can swap my ipad2 to ipad air?then how much will it cost?

    Is there any chance that I can swap my ipad2 to ipad air? How much will it cost?

    Denec wrote:
    Is there any chance that I can swap my ipad2 to ipad air?
    No.
    How much will it cost?
    Full price.
    You can "recycle" it thru Apple and get an Apple store gift card you can use towards a new iPad.
    See this -> http://store.apple.com/us/browse/reuse_and_recycle

  • AIR iOS app fails uploading to Apple (iTunes Connect)

    I've been trying to upload my iOS app to iTunes Connect via Application Loader but it fails every single time. I'm getting the following error(s);
    'Unable to run the lipo command: ... Can't map input file ...' and 'Application failed codesign verification'
    I believe the second error is due to the first, but I'm not sure. I've been looking around the web for solutions and only found this thread on here, I've tried everything said there but nothing helps.
    Replacing my game with an empty FLA doesn't seem to work either.

    I'm on the latter side, usually it's a codesigning issue. How did you develop your certs and did you follow the order specifically in my list in that post? Often people use old certs but create a new app ID and expect the old certs to work.
    There's been other discussions about extra "files" that Flash Pro inserts into IPAs (.zips in disguise). Because Flash Pro publishes to a folder that's not built specifically for that build, people sometimes copy extra files into that path. Those files can "automatically" and accidentally be added to the IPA without the author desiring that. You should check what files are being packaged with your IPA to verify there's no extra junk.
    Are you using flash CS5.5 or CS6 and what version of AIR are you overlayed to?

  • Emoji in Adobe Air iOS app?

    Hello,
    We are using Adobe Flex 4.6 and Air 3.3 to develop iOS app. Does anyone know if it is possible to enable emoji in our app? Currently the emojis show up as squares.
    Thank you very much.

    omgallnamestaken,
    did you ever get anywhere on this?  Im trying to do the same thing on ios with air app running in the background.  thanks.

  • IOS 8 extensions feature for Air iOS apps?

    Hi,
    Since iOS 8 it's possible to add extensions to iOS apps. (App Extensions - Apple Developer)
    Will that feature come to Adobe Air?
    Thanks

    Hi,
    I'm really interested in this feature as well. Have spent a bit of time attempting to get one running through a native extension but it doesn't appear to work. I believe something in the AIR build process is blocking the components required. I've tried several methods so far:
    packaging the appex with an ANE
    packaging the appex with the AIR container app
    using a class instead of a storyboard
    But nothing seems to be working. This is even before the app extension is doing anything. My guess is that the plist file specifying the app extension isn't correctly being included in the application but I have no idea how to update it to test.

  • Twitter App - how much to use

    Hi
    Sorry, new to BB and to smartphones..
    The twitter app is shown as free to download, but what is the running cost of using it?  What charges are imposed.  Similarly with the music apps, free to download but how much to use?

    Data in BlackBerry terms is the flow of electronic information to and from your device, over the network.
    Anyway, so now you know. Twitter uses data. BBM uses data. GPS navigation mapping applications use data to flow the maps to your handheld.
    However, SMS is not "data", it is part of the "voice" pipe.
    Consider your BlackBerry having TWO inlets for information.
    The voice "pipe" channel contains the voice and SMS
    The data "pipe" channel contains all over flow of information: email, twitter, BBM, mapping, internet browser, etc.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How do i localize the app name in an air ios app?

    I am trying to compile an adobe air app for iOS with Danish app name? I can get localization to work with eg English, French and German, but not with Danish...
    I put
    <name> <text xml:lang="en"> English </ text> <text xml:lang="da"> and Danish </ text> </name>
    in the app.xml before i compile with the adt, but after compile i can see that only the English name is created in the InfoPlist.strings of the ipa.
    Any ideas on how to achieve a localized app name?

    Helo fideld, officially Adobe Air don't support Danish language. But I may help you.
    1. Download this file https://www.dropbox.com/s/ytx44mxzdgmlfq2/adt.jar
    2. Go to Air SDK\lib\ folder and backup your original adt.jar
    3. Copy my one from step 1
    You may understand that patched adt.jar was produced by me and not by Adobe.
    I just done this for you as a part of community friendly support. It's allow to add "da" language.
    1. Open your *-app.xml
    2. Add lang="da"
    3. Go to supportedLanguages in XML and add "da" also there so it's will be like "en fr de da".
    Patched ADT was made from original latest 4.0.0.1619 and you must use http://labs.adobe.com/downloads/air.html 4.0.0.1619 before apply this patch
    This works well, just tested!

Maybe you are looking for

  • I can't update packages after upgrading pacman to 4.0.3

    I know this was already treated broadly about two months ago, but I can't update after upgrading pacman because of continuous problems with certain signatures (at least one). I have already tried this: rm -rf /etc/pacman.d/gnupg pacman -Scc pacman-ke

  • Changing page orientation?

    Is there a way to change the page orientation within the Reader?

  • Authentication using Client Certificates

    Has anyone implmented client certificate authentication where after user has entered her certificate id/pwd they get direct access to the portal without getting the portal logon page again. I am using EP6 SP2, i get the request for client certficates

  • Phantom Blank CDs on Desktop

    Hi everyone, I have an odd problem. When I burn a blank disc (with iTunes for example) the "UntitiledCD.fpbf" CDR icon remains on my desktop even after the disk is burned and now-burned disc automatically mounts on my desktop. If I burn a disc, eject

  • Make a flash swf backwards compatible?

    Do I have to publish it in Actionscript 2 and select Flash Player 6 under publish settings, if so would I have to rewrite any actionscript (simply a URL link). If so, how do you make a hyperlink in AS2? Can this still work with Flash Player 9 (or the