Flash grinding to a halt because is not unloading media

hi guys,
i've a got a huge (relatively) problem ni that i've created a Flash app with a dynamic data structure which ends in 150 different nodes.
each node (if visited) loads in between 5-10 images and a couple of movies.
The data for each node and its consequent external media are all displayed in the same visual class that is only instantiated once.
The display object that contains the jpgs and movies is cleared of all child objects before the next node loaded.
Yet the size of the flash file (according to windows task manager) never shrinks and very soon reaches 1mb in size at which point it starts to chuc badly.
It's my understanding - even though i'm using 'removeChild' on each object and resetting any references to the said child objects - that they are not being removed from teh cached memory and for whatever reason not being picked up/emptied by the garbage collector?
Does this sound about right?
If so, can anyone suggest HOW i can make it so that the loaded media is removed from memory when it is element is removed (removeChild etc)
All help greatly recieved as this project is due to be delivered later this week!
regards, Rich
Ps.  running on Windows XP SP3, Firefox, FlashPlayer 10, Flash CS4 published for Flash player 9, written in AS3, all external meia is *.jpg and *.flv

hmm, good article which makes sense.
i'm using removing the container from the stage using removeChildAt()
and then reseting the array that stored the references to the items that were within the container.
there don't seem to be any other references, the loaded objects are not referenced or passed around outside of the container
if you can't force garbage collection can you adjust the threshhold or what triggers it.
I am, at this stage, unsure whether the items are marked for collection but it isn't firing or it it's firing but they're somehow (as you say - likely through being referenced) not being marked.
is there any way to track an objects reference count?

Similar Messages

  • I have the top of the range MacBook Pro. Yet every time I open iPhoto it grinds to a halt with iPhoto crashing 1 out of every 4 times I open it. Is this normal? And if not how can I fix it?

    I have the top of the range MacBook Pro (but not the latest one with the Retina display). Yet every time I open iPhoto it grinds to a halt with iPhoto crashing 1 out of every 4 times I open it. Is this normal? And if not how can I fix it? I have 55k photo's.

    No it's not normal. What version of iPhoto?  Post the first 50 lines only of the crash report
    Regards
    TD 

  • I get the message "Install Adobe Flash" can't be opened because it was not downloaded from the Mac App Store. This is the first time I have gotten the message. What do I need to do?

    I get the message "Install Adobe Flash" can't be opened because it was not downloaded from the Mac App Store. This is the first time I have gotten the message. What do I need to do?

    Hi Sandra,
    you'll need to edit the security settings to install programs 'Mac App Store and identified developers'
    Open the Systems Preference and go to Security & Privacy.  There will be a section in the 'General' tab for 'Allow apps downloaded from:"  The default selection is 'Mac App Store'.  Change this setting to 'Mac App Store and identified developers".
    This screenshot is taken on OS X 10.10 (Yosemite), so it may look slightly different if you're on a different OS X version.
    Maria

  • Repairing permissions takes  ages! and other apps grind to a halt.

    Hi,
    I tried repairing disk permissions today after noticing a bit of a general slow-down and the progress bar went about 5mm across and stopped. The animation kept going making it look like it was revolving but it didn't progress along.
    I have tried quitting all apps, logging out, trying again, trying in a test account and nothing changes the fact that it takes 5 minutes approx to complete the job.
    If I click on any other object whilst its determining and repairing, everything grinds to a halt: the dock freezes, action buttons go blue and stay blue, the rainbow ball spins. I've run activity monitor and it shows approx 1.6% CPU usage and the temp stays around 49 degrees C.
    I recently installed Photoshop Elements but it wasn't running at the time and once permissions were sucessfully repaired it still displayed all the symptoms described above.
    Anyone have a clue what's happening?
    Any light shed gratefully received.

    Here goes,
    Ran permissions repair from DVD and it did the same thing so I clicked stop repair, the button went blue and nothing else happened for 10 minutes. I forced a shutdown and started again.
    This time I went straight for repair disk and it said...
    Verify and repair disk "Macintosh HD"
    Checking HFS Plus Volume
    Checking events overflow file
    Checking catalogue file
    (Red Text)-> Invalid node structure
    Volume check failed
    Error: the underlying task reported failure on exit
    (Black txt)-> HFS Volume checked
    (Red text)-> 1 Volume could not be repaired because of an error.
    So, I have backed up this HD but will my clone be duff as well now or is this a physical corruption to the actual structure of the disk? I guess I can check using DUtility on my external HD.
    I guess I'd better call apple eh!
    Thanks, Ben.
    PS - any other suggestions??

  • Air and mac operating system grinding to a halt

    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.

    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.
    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).

  • Lion grinds to a halt when a network volume is mounted

    Ok, so I've got a network drive that I mount infrequently, but when i do the OS grinds to a halt. I don't think it's Spotlight because it doesn't tell me it's indexing the drive in the Spotlight tab. I've tried adding it to the privacy tab in Preferences too but that makes no difference. iStat Menus sometimes shows big spikes of CPU usage across all cores at the time, yet oddly at others it doesn't. The network section of iStat also shows wildly varying network traffic whilst it's happening too, sometimes upto 3MB/s, but this fluctuates all over the place.
    What can I use to try and track down what's happening? It's a fairly easy bug to reproduce, but the system is pretty unusable while it's actually happening; can take 10-15 seconds to respond to a click because of the inevitable beachball of doom. Any suggestions?
    Just in case it helps, it's a Samba share from a ZFS filesystem.

    I use an ATI Radeon HD 2600 Pro with dual monitors and its certainly not a top of the range card nor as SteveG suggests should it be.
    > Maybe it's just me, but could you please explain how a faster drive makes a difference to the performance when zoomed in? Because on the face of it, that makes no sense.
    It could have something to do with the alignment of the planets rather than the faster hard drive but all I can do is give the facts, my observations and logical conclusions :-)
    Zoom in for really close work with large track count recorded at 44.1k with a 7200 rpm drive and I would have an annoying lag of about 2ish seconds enough to really disrupt workflow.
    Do nothing else but add a 10k rpm drive and make that my primary work drive - problem gone.
    Think about the logic of it for a minute.
    You are somewhere say in the middle of the song you zoom in (I'm thinking just now while I'm typing - which is novel in itself - that Steve you may be thinking that the lag is in the zoom - its not and that could be the confusion but I'll continue) and press play. AA has to load the tracks position the file pointers of all track at the beginning of the file then move each pointer to the position in the song for each track to your zoom point and then play the tracks.
    Worse for 48k files and probably worse (can't tell cause I usually have heaps of edits) with heaps of slices as each is a virtual copy of the original track.
    That's a lot of work and a lot of data to move around - I'm seriosly looking at the solid state drives with lower seek times.
    BlairT you have some serious PC issues cause that machine should be coping without a problem.

  • What do i do if my internet is wep and i need it to be wpa2 because my ipod touch 4th gen connects to the internet but when i click on safari or itunes it says safari cannot open the page because its not connected to the internet

    what do i do if my internet is wep and i need it to be wpa2 because my ipod touch 4th gen connects to the internet but when i click on safari or itunes it says safari cannot open the page because its not connected to the internet. i have contacted apple support and they said to change from wep to wpa2 but when i change it to wpa2 and type in password and connect on my laptop it says the saved setting on this computer for the network do not match the require ments of the network

    My 2nd gen works fine with WPA2 and AES encryption.
    You may need to go back and start over.  Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.

  • Hp compaq nc4200 drivers for windows 8 iam very sad because am not found thise drivers

    hp compaq nc4200 drivers for windows 8 iam very sad because am not found thise drivers in any sits please anser me quq
    thanx

    Hi,
    Besides britishdhez's suggestion, we also try to get your apps and devices working in
    Windows 8.1 in compatibility mode:
    Get your apps and devices working in Windows 8.1
    http://windows.microsoft.com/en-IN/windows-8/get-apps-devices-working
    Karen Hu
    TechNet Community Support

  • Is the imessage server down? because is not working in my ipod and my friend's one

    because is not working in my ipod and my friend's one, then i logoff but now it doesnt let me log in :/

    Hi check here
    http://www.apple.com/support/systemstatus/
    As you can see imessage is down right now, so all you can do is wait for apple to fix whatever is wrong

  • I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos

    I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos

        Enable Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.

  • The last apple ID used on my App Store is stuck how do I change back to my apple ID? I can't download anything because its not asking for my apple ID and password, help?

    help, the last apple ID used to download in my ipad2 is stuck, I can't download anything because its not asking for my apple ID and password, how do I change it back to mine?

    Again, this only affects you if someone *redownloaded* content with a different ID. In my case, I emailed iTunes Store support, explained the situation, and they reset the counter.  I recommend you try the same
    If you read discussion boards, this is a significant change from a year ago, when Apple told people in the same situation to go f&$# themselves.  Clearly it's dawning on them that this is a stupid policy, and my guess is if people keep complaining they'll change it to something more reasonable.  Remember, it wasn't that long ago you couldn't re-download content at all.
    Apple can't really afford to play hardball on this. Sure, the hardcore fanboys will always say "Thank you sir, may I have another" whatever Apple throws at them,  but the rest of us will just switch to Amazon, which has none of these restrictions.

  • HT204382 MAC PRO10.6.8 just downloaded file sent  5/2010 "BoogieWoogie" (4-wmv) I could play it then, but now it says I cannot open because its not in a format that Quicktime Player understands that I have to install addit'l software to open this type of

    MAC PRO10.6.8 just downloaded file sent  5/2010 "BoogieWoogie" (1-wmv) I could play it then, but now it says I cannot open because its not in a format that Quicktime Player understands that I have to install addit'l software to open this type of file??? WHAT software and WHERE do I find it to download?
    calico6

    Free VLC player for the Mac, check out the Icecast Radio Directory also
    http://www.videolan.org/vlc/download-macosx.html
    And if it's copy protected then
    http://www.telestream.net/flip4mac/
    If anyone is running 10.8. or later, then they might have to right or control click on the installer or app to "Open" to bypass Gatekeeper controls at least once, then it learns it's a ok to be trusted program.

  • HT5622 i moved from Egypt to Canada, changed my info on app and still can't get some app because " item not available in the Egyptian store"

    i moved from country to another, changed my info in app ID and still can't get some apps because  item not available in the home country's store? any idea?

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

  • Oops, something is not right... Flash Plug-In Warning Explanation: You do not have the Flash player installed on your browser. How to Fix the Problem: This game requires the Flash plug-in. Download the latest Flash player now.

    When I try to play certain games on pogo, I get this: Oops, something is not right...
    Flash Plug-In Warning
    Explanation:
    You do not have the Flash player installed on your browser.
    How to Fix the Problem:
    This game requires the Flash plug-in.
    Download the latest Flash player now.
    So I download latest still get error message

    It is best to go to the source, Adobe, to get their software and updates. Sometimes malware can infect sites with messages that appear legitimate, but will, instead, install malware/virus/trojan on your system. Read the following carefully to install and/or update Adobe Flash.
    There are 2 versions of Adobe Flash; an '''ActiveX version''' for IE only and a '''Plugin version''' for most other browsers including Firefox. On a Windows system, you should always update both individually. '''''You do not have Adobe Flash (aka "Shockwave Flash" in Add-ons > Plugins) installed.'''''
    #'''Using Firefox''', go to the following direct download link and SAVE the download to your desktop so you can find it later: http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe
    #When the download is finished, close Firefox (File > Exit '''''OR''''' Firefox button > Exit)
    #Click or double-click on the file you just saved to your desktop
    #*In the installation window that appears, click the box to the left of "I have read and...." to place a check mark in the box
    #*The "Install" button in the lower right corner will now be highlighted, click it.
    #*The installation is quick.
    #Start Firefox and test your installation here: https://www.adobe.com/software/flash/about/
    #Direct link ActiveX version for IE '''''only''''': http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax.exe
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How do I download Adobe Flash Player for a computer that does not have internet?

    How do I download Adobe Flash Player for a computer that does not have internet?

    Hello Walter,
    that's it, usually you get and Adobe Flash Player Installer only.  For a distribution in a company, or an installation on a PC without internet access, Adobe has available an offline installer. This installer you don't need to uncompress it first. You can download the installation file from there (you must logged in with your Adobe ID): http://www.adobe.com/products/flashplayer/distribution3.html
    Hans-Günter

Maybe you are looking for

  • How Can I Copy an database from one server to another ?

    Hi All, I need to copy an existing database from one server to another server. I want to maintain all the settings from the source database. I´m not used to Oracle database and i´d be glad for any help. How can I do this ? Do I need to backup and res

  • Video loading problem

    Hi there, Im new in the flash/as3 field and im trying to use a video in my website... i've read lots of tut and i've tried many techniques... On my computer everything seems to work fine but everytime im loading the files to the server, i can see the

  • Credit Management in IS Retail

    Hi,    I want to assign credit limit to customer at  POS . Sales will happen at POS , and if the credit limit exceeds the Limit Assigned an error message to be shown.    I know how it can be done in normal Order to Cash process , but how do i assign

  • Transport of Authorization Object

    Hi , I have created an Custome authorization Object in dev Box . can you tell me how to transport it to QA Box ? Thanks Pankaj

  • Can you create a web gallery from Stacks?

    Hi. I have several stacks totalling 108 images. How do I create a web gallery that shows the images, not the picks from Stacks? Is that even possible? Thanks, Scott