AIR iOS app - how much memory consumption, it's too?

Hi all

I have an app focused on Flex AIR that works very well on Android.

IOS (iPhone 4), it freezes after it worked for a while, and I suspect that the problem is that the application consumes too much memory.

I'm looking at System.totalMemoryNumber, and it is the statement that the application uses between 17 and 23 MB right until it freezes.

Is this a lot for an iOS app?

Is there a better way for me to review/research/diagnose this? I did a lot of research and it does not appear that AIR apps get no warning IOS memory becomes low.

Thanks in advance!

Douglas

Hi all

I answer at least a part of my own question...

I created a test application that has added 10K characters in a string on every enterFrame, then he ran until it crashed. He always seems to get up to about 175 MB (as reported by System.totalMemoryNumber) before it crashes.

This has happened with and without several other applications running in the background.

As mentioned above, it is on an iPhone 4.

It seems that my current problem is not caused by excessive memory consumption.

Douglas

Tags: Adobe AIR

Similar Questions

  • Is faster than the local AIR IOS app remote SWF SWF because I can ' t use the unloading code.

    Are faster than the local SWF on AIR IOS app remote SWF because I can't use the code to unload on IOS of AIR.

    my local code:

    Stop();

    import flash.net.URLRequest;

    import flash.system.ApplicationDomain;

    import flash.system.LoaderContext;

    import flash.filesystem.File;

    import flash.filesystem.FileMode;

    import flash.filesystem.FileStream

    go_level_2.addEventListener (MouseEvent.Click, Level_2);

    function level_2(event:MouseEvent) {}

    var loader2:Loader = new Loader();

    var loaderContext2:LoaderContext = new LoaderContext (false, ApplicationDomain.currentDomain);

    var file2:File = File.applicationDirectory.resolvePath ("level2.swf");

    loader2. Load (new URLRequest (file2.url), loaderContext2);

    addChild (loader2);

    }

    Because it works for me, because I can't unload the SWF app file en becomes slow, I'll put the SWf file "s on a remote location.

    But I can't imagine what is happening when I loaded the SWF file remotely. It remains on the server, or it remains on my application when I unloaded it, and the app gets also larger. I hope you can help me because I went on the internet for a week and do not now how to go further.

    I had a similar problem, but not on iOS.

    Maybe my solution might work for you too, however.

    The problem was this line:

    new LoaderContext (false, ApplicationDomain.currentDomain);

    Do not reuse the same field of application, or you will never be able to get rid definitions and thus the SWF loaded.

    Instead, make a new child application domain for the current domain, keep track of it and it has as well as the rest of the SWF file when you are finished.

    Example:

    var loader2:Loader = new Loader();

    var appDomain2:ApplicationDomain = new ApplicationDomain (ApplicationDomain.currentDomain);

    var loaderContext2:LoaderContext = new LoaderContext (false, appDomain2);

    var file2:File = File.applicationDirectory.resolvePath ("level2.swf");

    loader2. Load (new URLRequest (file2.url), loaderContext2);

    addChild (loader2);

    Then

    function finishLevel2(event:Event):void

    {

    var loader2:Loader;

    loader2 = Event.Target.Loader;
    loader2.parent.removeChild (loader2);

    loader2.unloadAndStop ();

    appDomain2 = null;

    }

    Note that the definitions of the classes of the loaded SWF file will be available in the new application domain.

  • How much memory can I mount in a Tecra M10 - 1CN?

    How much memory can I mount in a Tecra M10 - 1CN and should be in two 200 pin SO DIMM DDR2 PC2-6400 800 MHz modules

    Hello

    Expand the memory depends on the chipset of the motherboard
    The Tecra M10 supports the chipset Mobile Intel GM45 Express and this chipset DDR2 800 MHz RAM 8 GB max

    So first of all, that you can use 2 x 4 GB RAM modules, and on the other hand the speed of memory is limited to 800 MHZ.

    Even if you use faster modules i.e. 1033 Mhz FSB would clock speed to 800 Mhz so it s not worth to use faster than the DDR2 800 Mhz modules

  • How much memory can I put in 2002 Windows XP Compaq Presario 6000?

    How much memory can I put in 2002 Windows XP Compaq Presario 6000?

    TIA!

    It depends on your hardware.

    See http://h10010.www1.hp.com/ewfrf/wc/document?lc=en&dlc=en&cc=us&docname=bph03886&printable=yes&product=96113#N141 for official instructions.

    If you need more help on HP hardware, ask on the forums of HP support.
  • BlackBerry smart phones Micro SD card - how do I know how much memory is left?

    I just installed a 2 GB microSD card and added a music video, music and photos. I would like to know how much memory I left on the card - boards?

    Hello sunflower.

    You can check the free space by going to Options > Media Card

    Basically, it should give you the Total space and free space

  • How much memory you can use with windows 7 64-bit ulta

    I would like to know how much memory you can use with ulta windows 7 64 bit.  I know you can use 32 GB with the Pro version. I have two computers can I up grade with a desire for additional memory up grade 512 GB and the other we're going to the top grade to 32 GB...

    Windows 7 Ultimate x 64 can support 192 GB.

  • How much memory do I need on my iMac when I launch illustrator, Photoshop and InDesign

    How much memory do I need on my iMac when I launch illustrator, Photoshop and InDesign

    The following links will take you to pages that list the system requirements for the programs you specified.  Choose whatever the version, you are concerned with and add up the numbers on the memory requirements for the worst case scenario - the recommended vs. required as well.

    Photoshop - http://helpx.adobe.com/photoshop/system-requirements.html

    InDesign - http://helpx.adobe.com/indesign/system-requirements.html

    Illustrator - http://helpx.adobe.com/illustrator/system-requirements.html

  • How much memory do you need creative use Cloud

    How much memory do you need to effectively use the creative cloud with lightroom/photoshop?

    Just run the programs.  How answer they'll be depends on what you're trying to do.

    If you do the basic photoshop editing, no problem.  If you change the video, you may notice a few balloons of rotation range.

  • How much memory to use an instance of SOA?

    Hello!

    Is it possible to know how much memory is using an instance in Oracle SOA Working? Or at least, an application on a WebLogic Server?

    Greetings, Peter.

    Peter,

    You can monitor the memory usage of all JVM running the application server, but there is no way to understand that the amount of memory has been attributed to a particular application / instance running on this server.

    Kind regards
    Anuj

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

    I tried to download my iOS app on iTunes Connect via the Application Loader, but it fails every time. I get the following errors;

    «Cannot run the lipo command:...» Impossible to map an input... file ' and 'Application does not codesign verification. "

    In my view, the second error is due to the first, but I'm not sure. I've been browsing the web solutions and only found this thread here, I have tried everything that said it, but nothing helped.

    Replacement of my game with an empty FLA does not seem to work either.

    I'm on the side of the latter, usually it is a question of dialogue. How developed your CERT and have you followed the order specifically in my list in this post? Often people use old CERT but create a new ID app and you wait for the old CERT to work.

    There has been other discussions on additional "files" that Flash Pro inserts in IPAs (disguised .zips). Because Flash Pro publish in a folder that is not built specifically for this generation, people sometimes copy additional files to this path. These files can 'automatically' and accidentally be added to the IPA without the willing author only. You should check what files are being packaged with your IPA to check there is not very undesirable.

    You use flash CS5.5 or CS6, and which version of AIR you are superimposed to?

  • Run garbage collection operation in AIR - iOS app

    Just to be in a bit of a learning curve, develop a Flash application for browser used in a browser and set up with the memory management optimal if all goes well using Flash Professional CS5.5.

    Part of the process is to make sure that the object have no reference pointing of the finger when they are made with so much garbage can clean them.

    Now, I came to the port of the application on iOS for iPad. My question is... Air for iOS, run the garbage collection?

    Thank you

    Mark

    Yes. and you can manually force garbage collection by calling System.GC() If you use Air 3.0

    but try not to rely too much on the gc to solve memory problems... too much to clean up causes a very noticeable lag when running, and it does not work in any foreseeable calendar I can say... If your memory get is too high, your application can be ejected and crash.

    something to keep in mind, recycle and pool objects and varibles as much as you possibly CAN... try using the NEW keyword as little as possible... then all killed during a phase transition or loading followed a system.GC() if the offset is not noticeable.

  • iOS app how to set unique user name

    Is it possible to store a user name and other details in an ios app on the first run of the application through user input and store this data constantly without another user input for the lifetime of the application? using basic data.

    Many applications store preferences such as what you describe in the application 'settings' of native iOS.  I'm not quite how, but that looks like what you might want to research.

  • How much memory a W500 can be seen on Vista 32

    I know how 32 - bit operating system has a limit of 4 GB, but on my W500 system sees only 2.46 4 GB.

    My Toshiba laptop Brothers sees 3 gb 3 GB installed.

    Oh, when I say see I mean usage, it's how much can be seen in the applet to task manager or information system.

    Now, I should more usable memory 2 gb + 1 gb? It seems that Yes

    OR

    I should more installation of sticks from the same manufacturer? My second stich 2 GB original lenovo W500 to remember but is a manufacturer of difrent than that has been installed

    32 bit can only recognize max 3 gig and not 4 GB. Also with the ATI graphics card, it automatically allocates approximately 400 to 500 MB of the gig 3 recognized ram for hypermemory thingy, which means that you get essentially around 2.5 GB for the rest of the software.

  • How much memory will be taken in charge by Windows 7 32 bit?

    original title: memormaximum memory for windows 7 32 bit

    What is the maximum memory recognized by windows 7 32 bit?

    Hello

    32-bit only supports up to 4 GB and that some will be unavailable to the operating system according to the
    How much of the material, such as video, must be mapped into memory.

    In fact with 4 GB installed you could have 2.8 to 3.2 or so available according to the memory
    mapping of video cards and so on.

    Usable memory may be less than the memory installed on Windows 7 computers
    http://support.Microsoft.com/kb/978610

    Limits of physical memory Windows 7
    http://msdn.Microsoft.com/en-us/library/aa366778 (VS.85) .aspx #physical_memory_limits_windows_7

    System memory shown in the system information dialog box in Windows Vista
    is lower than expected if the 4 GB of RAM is installed (Windows 7 is the same)
    http://support.Microsoft.com/kb/929605

    Vista and 4 GB of RAM (Windows 7 is the same)
    http://compreviews.about.com/od/memory/a/Vista4GB.htm

    32-bit and 64-bit Windows: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    Measure the memory usage in Windows 7
    http://brandonlive.com/2010/02/21/measuring-memory-usage-in-Windows-7/

    I hope this helps.

  • Sending Tweets via Adobe AIR iOS Apps

    Heya everyone.

    Is it possible that I can implement a tweet function in iOS app AIR? I'm currently he developed in Flash Professional Actionscript 3. I understand that there is a method to do it in Flex, but I have no knowledge in this area.

    Thank you .

    I used the files of source tweetr for a web application.

    for an application installed (like air for iOS), you shouldn't have problems cross-domain.  you test on an iDevice (you should be) or a simulator on a laptop (where you'll cross-domain issues)?

Maybe you are looking for