AIR 1.5.3 Generates 1000+ threads on Windows and Crashes...

I'm writing a fairly large AIR application that, at one point, begins creating threads over and over.The thread count will reach 1000+ before finally crashing.
Notes:
This *only* crashes Windows 7 and Vista
The thread count on XP increases the same as Win7 and Vista; however, the application does not crash in XP
On a mac, the thread count barely makes it past 30, and obviously, does not crash.
When using ADL via flexbuilder, adl.exe's thread count only increases to around 200 or so (thus, no crash). This only occurs when the application is installed.
This issue seems very closely related to garbage collection (due to the actual thread count being variable -- as well as the crash). I'd say the crash occurs 90% of the time and the other 10%, the thread count may only get to 900 or so, before dropping back down to 15 or so - this does *not* crash the application.
This is a fairly serious matter from my company's perspective, and *any* feedback at all would be GREATLY appreciated.
Thanks!
Matt Bolt
[email protected]
Electrotank, Inc.

I'm adding in my own answer of "what" causes this; however, I still believe it's a bug...
We were using URLMonitor to verify whether or not an asset existed -- Each urlMonitor instantiation and start() method calls generated an additional thread - for certain objects, we were checking for multiple assets (thus the 1000+ threads). This still may be related to garbage collection, but it was definitely the URLMonitor that sparked the issue.

Similar Messages

  • Is it possible to share assets between a windows and a mac AIR app build with captive runtime on one dvd-rom?

    Hi there,
    I have a question about burning two builds of an AIR desktop app with captive runtime, one for Windows and one for Mac, on a single hybrid DVD-rom that can be played on both Windows computers and Macs.
    I've tried sharing the assets (video's and pdf's mostly) between the two builds, but I can't seem to get it to work. The only way I have been able to work around this, is to have the assets in both builds, which results in the double the amount of space on the DVD-Rom.
    Is there a way to have the two builds use a single location to find the files? Or do I need to have two builds that both contain all the assets?
    Thanks in advance!
    Kinds regards,
    Maarten

    Gotcha!!
    I am done with mounting a secondary HDD (thanks to ifixit) and installing Windows 8 Pro 64 bit on it without a worry. Charm, charm!!
    Boot Camp 5 guide prescribes all needed steps and when read and used correctly, installation must be an easy task. And all the existing apple hardwares work so good in the Windows environment too.
    I am going to help out a friend of mine in doing a similar thing on his mac too. If you got specific questions, please do shoot up here and i should be able to get a reply to it (if at all).
    Thanks everyone.
    ~ Narey

  • Error creating AIR file: could not generate timestamp

    I have been getting this error the last few days.
    Error creating AIR file: could not generate timestamp:
    sun.security.validator.BalidatorException:PKIX path building failed:
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find
    valid certificatio path to requested target.
    https://timestamp.geotrust.com/tsa
    I found one thread saying this url must be accessible but when I go there I get "404 -- page not found".
    Since this was working now it is not I'm looking for a direction.

    Hey Karthik,
    First of all, are you using ECLIPSE? What is your development
    Environment. I had run into same issue, after hours of trying
    different things, I installed the FLEX BUILDER and was able to
    create the application without any issues. I have also noticed that
    FLEX BUILDER works more smoothly than Eclipse and since then I have
    been developing within FB.
    Thanks.

  • I am running OS X version 10.7.5 on a Macbook Air.  I read in one thread where someone had an update that was higher than 10.7.5 but when I ask for updates, none are available. Is this the last update for OS X?

    I am running OS X version 10.7.5 on a Macbook Air.  I read in one thread where someone had an update that was higher than 10.7.5 but when I ask for updates, none are available. Is this the last update for OS X?

    Niel, thanks for your response.  I have been very wary of downloading Mavericks on this machine.  I don't feel it has the power to run it and I'm afraid it was slow it down terribly.  It was bought in late 2008.  It's fine for my purposes at this time…just holding on until I buy a new one.  I have the same problem others have with autofill not working, so I was trying to see if an update would help that situation.  Grace

  • ACE 20 | When connection to one serverfarm/VIP cross 1000 all other serverfarms and VIP of that context are facing very very slowness

    Dear Community
    Hi !!
    We are  Facng a typical issue and scraching Head since sometime Now and Now seek help and sugesstions
    I have a ACE with 10 Context. Now There is a Particular Context  which have 6 server farms and all have under different VIP.
    Have raised Multiple TAC cases and Captured Millions of Packets but no reason. The ACE resource and CPU Usage is Normal and no increase noticed.
    Issues Happening is that when connection to one serverfarm cross 1000, all other serverfarms and VIP  of that context  are facing very very slowness ,and  they have no relation with each other both Physically and Fictionally
    If any of you have heard of similar issue can you refer me a solution if the issue is with ACE 

    Hi Shirshendu,
    Replied to you on other thread.
    Regards,
    Kanwal

  • How do I install windows and bootcamp on my macbook Air

    Hi
    I need to install Windows and Bootcamp on my macbook Air, due to a software tool a customer needs that only runs on windows.
    The initial instructions say I cannot do this with a remote DvDplayer,
    Who has experienced this?
    Chris

    http://manuals.info.apple.com/en_US/boot_camp_install-setup_10.7.pdf

  • I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to reprogram a different key to be my plus/equals key? Can I program a function key? key

    I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to re-program another key to do that function? Can I re-program a function key to do this function?

    Water + electronics do not mix.  Something was damaged insode, and the logic board may be corroding as is.
    Take it to a Genius Bar for an evaluation and repair estimate.
    This is accidental damage and not covered by warranty.

  • Mac Book Air shuts down completely if I close the cover and leave for hours.  Message: you shut down your computer because of a problem.  Any thoughts what is happening?

    Mac Book Air shuts down completely if I close the cover and leave email running.  Is n't it supposed to just sleep and awaken whe the cover is reopened?  Instead, I have to boot it.  Any idea what the problem is?  I am unaware of any problem, just close the cover for safety.

    Well I don't know anyone that closes the cove and leaves it for Hours... But try going to System Prefrences > Energy Saving > Uncheck Put Hard Disk to Sleep.

  • When I open my MacBook Air the keyboard comes up along with the screen and does not stay still?!

    When I open my MacBook Air the keyboard comes up along with the screen and does not stay still. So I need to hold down the keyboard while i open it. Other than that it works fine despite the fact that the fan noise some times is loud and sometimes it's getting warm at the base. I wonder if this can be fixed if i go to one of the apple branches.

    Yes. Take the computer to the Apple store to have it fixed.
    Best

  • How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?

    How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?  I am fimilar with changing the setting for all network partitions(defaults write com.apple.desktopservices DSDontWriteNetworkStores true), but that is undesirable when I connect my laptop to my home network. A preferable solution would be where I could control the writing of these files based on disk format (NTFS vs HFS+).

    Go to MacUpdate or CNET Downloads and search for ds_store. There are numerous utilities for preventing them from being transferred to Windows systems.

  • Script needed to generate a list of paragraph and character styles from the Book Level

    Hello,
    I am using FrameMaker 11 in the Adobe Technical Communication Suite 4 and I need to find a script that will generate a list
    of paragraph and character styles from the book level.
    I am working with unstructured FrameMaker books, but will soon be looking at getting a conversion table developed
    that will allow me to migrate all my data over to Dita (1.1 for now).
    Any thoughts, ideas on this is very much appreciated.
    Regards,
    Jim

    Hi Jim,
    I think the problem you are having with getting a response is that you are asking someone to write a script for you. Normally, you would have to pay someone for this, as it is something that folks do for a living.
    Nonetheless, I had a few minutes to spare, so I worked up the following script that I believe does the job. It is very slow, clunky, and totally non-elegant, but I think it works. It leverages the book error log mechanism which is built in and accessible by scripts, but is spendidly unattractive. I hope this gives you a starting point. It could be made much more beautiful, of course, but such would take lots more time.
    Russ
    ListAllFormatsInBook()
    function ListAllFormatsInBook()
        var doc, path, fmt;
        var book = app.ActiveBook;
        if(!book.ObjectValid()) book = app.FirstOpenBook;
        if(!book.ObjectValid())
            alert("No book window is active. Cannot continue.");
            return;
        CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
        CallErrorLog(book, 0, 0, "** Book format report for:");
        CallErrorLog(book, 0, 0, book.Name);
        var comp = book.FirstComponentInBook;
        while(comp.ObjectValid())
            path = comp.Name;
            doc = SimpleOpen (path, false);
            if(doc.ObjectValid())
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, doc, 0, "");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "Paragraph formats:");
                fmt = doc.FirstPgfFmtInDoc;
                while(fmt.ObjectValid())
                    CallErrorLog(book, 0, 0, "  - " + fmt.Name);
                    fmt = fmt.NextPgfFmtInDoc;
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "Character formats:");
                fmt = doc.FirstCharFmtInDoc;
                while(fmt.ObjectValid())
                    CallErrorLog(book, 0, 0, "  - " + fmt.Name);
                    fmt = fmt.NextCharFmtInDoc;
            else
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "!!!  Could not open: " + comp.Name + " !!!");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            comp = comp.NextComponentInBook;
    function CallErrorLog(book, doc, object, text)
        var arg;
        arg = "log ";
        if(book == null || book == 0 || !book.ObjectValid())
            arg += "-b=0 ";
        else arg += "-b=" + book.id + " ";
        if(doc == null || doc == 0 || !doc.ObjectValid())
            arg += "-d=0 ";
        else arg += "-d=" + doc.id + " ";
        if(object == null || object == 0 || !object.ObjectValid())
            arg += "-O=0 ";
        else arg += "-O=" + object.id + " ";
        arg += "--" + text;
        CallClient("BookErrorLog", arg);

  • My mac book air can't start installation, because i use windows installation in DOS to make partion, now no mac os on it. How to get back the mac os? i have a window based iso image from a friend, because in my country there is no Apple service.

    my mac book air can't start installation, because i use windows installation in DOS to make partion, now no mac os on it. How to get back the mac os? i have a window based iso image from a friend, because in my country there is no Apple service.

    It sounds like you destroyed your boot partition and the recovery partition.  Depending on it's age, your MacBook Air might be able to do a net boot.  Plug and ethernet connection into it and attempt to boot.  If it has the right firmware, it will find a net boot configuration on the net and boot that.  Then it will give you a Recovery Partition like display and allow you to reinstall the OS X version that came with it.... assuming that it was Lion or ML.  If your computer came with Snow Leopard, then even the net boot won't work. 
    At that point you need a bootable USB Key, or an external DVD drive AND a Snow Leopard installation DVD. 
    An Apple Store, if there is one nearby, MAY be able to get you going again.  However, whatever is on the SSD now will be toast too.

  • HT201250 Once I use time machine to back up my Mac Air, can I delete all my files from HD and still have access to them on TM (external hard disk)?

    New to Time Machine. The HD on my Mac Air is full so I got an external HD and using TM to back up everything.
    Can I erase all files (pictures, docs, etc) from my Mac and still have access to those files through Time Machine?

    That is a bad idea. Time Machine is strictly a backup utility. What you describe will require archiving files, which Time Machine is not designed to accomplish.
    Once you erase files from your MacBook Air, they will eventually be erased from your Time Machine backup. This is by design, as Time Machine will eventually fill your backup volume and will delete old files as required. Depending on when they were first backed up and how long they existed on your MBA before you erase them, they could disappear in as little as one hour.
    Use Carbon Copy Cloner or equivalent "clone" utility and configure it to archive files that do not exist on the source, or simply copy them over manually using the Finder. You can then delete them from your MBA. Bear in mind that once you do that, you no longer have a backup copy. The only copies will exist on the external HD.

  • Cant get adobe air update off my computer, i stopped the download and now it won't go away

    Help me get adobe air download off my computer. I stopped it and don't want it to download...prompt on my screen will not go away

    Hello,
    Do you have Windows or MAC computer ?
    Which version of Adobe AIR installed on your computer ?
    Thanks,
    Vikram

  • Is there anyway to have an 11 inch mac air connected to an external monitor with lid closed and still be able to see content. I have a wireless ketboard and mouse and have tried everything. Only works when plugged in.

    Is there anyway to have an 11 inch mac air connected to an external monitor with lid closed and still be able to see content. I have a wireless ketboard and mouse and have tried everything. Only works when plugged in.

    You are referring to a feature called Clamshell Mode, please read Clamshell Mode setup for instructions.
    BTW when posting when you use generalities such as "have tried everything" this tells us nothing. When posting please be specific and try to paint a complete picture. It just makes things easier for those trying to help you.

Maybe you are looking for

  • Purchase Order generate mail with custom attachment

    Hi I have a requirement to create an output type for Purchase Order document. The mail should be sent with attachment file .CSV, which I will generate in my own Z- program. As I understand I have to create a new output type (NACE), make the customizi

  • Where find the 6in1 Media Card Reader (Mega180)?

    Excuse me for my poor English! I'm Italian. I buyed a PC Mega 180 "no deluxe" version and I want to buy also the optional 6in! Media Card Reader original for my Mega 180. Where I find it? Thank's Oreste

  • HR Forms

    Hi experts, I am new to HR Forms.Can any one tell me What is it?why it is used? and how to create a Layout for the form in SAP Form Builder. I already have the material for HR Form workplace and Editor.I want the use and steps and also about the layo

  • How to do Data Conversion SSAS ?

    I have fact table and a dimension table where the fields which I want to connect are of different data types i.e integer and string, So I need a help on data conversion how it is done in ssas .

  • [solved] local copy of wiki

    I _know_ this has been answered earlier but I forgot to bookmark it and now I can't find it. Can anyone please give the command to download the entire wiki (english only) for local use? Again - I apologize for asking what has allready been answered,