5 Replies Latest reply on Jul 24, 2012 6:02 PM by chris.campbell

    air and mac operating system grinding to a halt

    mccleonard

      I'm running air applications on Mac Mini computers (predominantly running 10.7.2) and am finding that after a few weeks of running constantly the air app gradually slows down, then grinds to a halt. The applications are dynamic animations that run full screen 1080p - they are artworks that are left on constantly.

       

      It then becomes impossible (or very slow) to quit the air app and the whole computer will respond very slowly or not at all. After this has happened a few times the computer will not even restart and will need the system re-installing.

       

      I've tried running various statistics outputting things, like MR Doobs Hi-Res-Stats - so I can monitor the framerate, memory and children. There are no obvious problems there. The cause of the issue is very hard to debug as it initially takes weeks for this error to occur, though after that it re-occurs more frequently and seems to affect the Mac OS too.

       

      The Mac mini is a 2.5GHz Intel Core i5 with AMDRadeon HD 6630M 256MB graphics. This model does not have automatic graphics switching which i've seen can cause problems.

       

      I am currently upgrading the os and seeing if that will help, but it will probably take weeks of constant running to see a repeat in the issue.

        • 1. Re: air and mac operating system grinding to a halt
          roymeo_ Employee Moderator

          This sounds like a memory leak, though the symptoms of the machine getting worse and staying worse once the AIR app is closed is pretty odd.

           

          Which version of AIR are you using?

           

          Is there any 'downtime' when these presentation machines could reboot?

          • 2. Re: air and mac operating system grinding to a halt
            mccleonard Level 1

            Ive run a test version and checked the memory usage using some open source monitors like the one described above (high res stats). Im no expert with trying to test for memory leaks, but this does give feedback to direct, max direct, total and garbage. After running this air app for a few days the memory remains stable. On my test screen the direct and max direct are around 30 and 45 (i assume its MB).

             

            Theres an image attached with these monitors - this picture is taken with me testing the movie in the flash ide so i believe thats making these values much higher, however they also are remaining stable.

            Screen shot 2012-07-18 at 11.48.26.png

            I think the version of air used initially was 2.5 (this is the one thats misbehaving), i've since loaded version 3.1 into my copy of flash CS5.5, i need to run a long test with this version too. The trouble is that problems seem to take weeks to appear. I will be setting up the final version of this mac mini setup to restart automatically every night.

             

            I'm currently testing a version of this film as a flash projector rather than air to see what that does. Please let me know what other tests i can run. I can post the code i'm using - its not that big (200 or so lines)

             

            To explain a bit more about what i'm doing - I work for an artist who makes dynamic (randomised) animations which play on HD screens using Macs and PCs. These will generally be left on all day, some are never turned off, some are. I've seen a few different films recently freeze (fine when its quit and restarted) or in this case slow down to almost 1 frame every 30 seconds and completely break the computer, in some cases requiring the system to be re-installed (the film i'm talking about falls into the latter situation).

            • 3. Re: air and mac operating system grinding to a halt
              mccleonard Level 1

              Just a quick note about the machine getting worse - the mac mini this is running on is only running this air file and nothing else - once the machine went wrong we swapped out the mac mini and put the same film on a new one. That also now has failed and wont restart in the same way.

               

              The original mac i reinstalled the system and it seems fine now. I'm going to visit the client and get hold of the newer mac mini and see whats going on with that - hopefully i'll be able to access the hard disk and send/post any error files if there are some.

              • 4. Re: air and mac operating system grinding to a halt
                roymeo_ Employee Moderator

                That definitely sounds odd.  Not only is something leaking, but the system is corrupted too?  That's not normal.

                We do have some longevity testing with Flash Player and AIR on desktop machines of various sorts that run for at least a week at a time.  We're not having to reformat our systems.

                • 5. Re: air and mac operating system grinding to a halt
                  chris.campbell Adobe Employee

                  I'd definitely recommend installing the latest release of AIR to test against.  You can grab AIR 3.3 here: http://get.adobe.com/air/.  We also have AIR 3.4 beta 1 available on labs.adobe.com.