Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-17116

[AIR] CPU leak when invoking an AIR application from the command line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      (Sample project archive + .bat script attached.)

      Steps to reproduce:
      1. Create a new AIR Project
      2. Set an empty listener function for the invoke event of the WindowedApplication object
      3. Compile the AIR project and install it
      4. Launch the application, then use a script to run it every 2 seconds (with or without arguments)

      Actual Results:
      CPU load slowly increase (10% CPU on my Dual Core 2 Duo within 2 hours) and won't go down even if you stop the script.
      Same issue on Windows XP Professional (using AIR 1.5) and Linux Slackware 12.1 (using ADL from the AIR 1.5 SDK).

      Expected Results:
      Constant CPU usage.

      Workaround (if any):
      None

      My company works on an AIR application we need to control using the command line.
      This application has to run during at least 1 day, which seems pretty difficult with this issue (the hardware is far less powerful than a Core 2 Duo, and we reach 90% CPU usage in less than 5 hours with invocation about every 8 seconds)

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: