Memory leak problems with loading videos over and over.

I'm having memory leak problems with loading videos into a VideoPlayer aswell as FLVPlayback.
What the flash should do:
- Should be running for 7 days without having to restart the projector.
- Interface that shows people around a 360 3D model with 5 different parts and at the stops it makes during the rotation you can click to zoom in on a location which plays a movie for that aswell.
- Shows a video out of 5 parts for a 360 rotation in 3D in mp4 video (added each time and cleaned up, see code below).
- Still images are used when the video clips are done playing (MovieClip in stage).
- Should run automatically when there is no user interaction for X minutes.
What the problem is:
- The flash (as a exe and swf i guess) starts to consume memory over time (say 10 hours) until the projector crashes. This usually at around 1.75 GB of memory.
I cannot see why the Flash cannot garbage collect this and free up the memory. Mabye there is something I don't understand about the garbage collection in flash?
Here is some code from the video loading and playing:
var fVideo:VideoPlayer;
VideoCreate();
function VideoReady(pEvent:VideoEvent):void
trace("VideoReady()");
     // start playing video
fVideo.play();
function VideoLoad(pUrl:String):void
     trace("VideoLoad(" + pUrl +
     VideoCreate();
     if (pUrl != "")
          if (fVideoFolder + pUrl == fVideo.source)
               fVideo.seek(0);
VideoReady(null);
          } else {
trace(fVideo.state);
               if (fVideo.state !=
VideoState.DISCONNECTED) fVideo.stop();
fVideo.close();                                
fVideo.load(fVideoFolder + pUrl);
     } else {
// error no url
function VideoCreate():void
     trace("VideoCreate()");
     // remove old one
     if (getChildAt(0) == fVideo)
          removeChildAt(0);
     fVideo = new
VideoPlayer(1024, 768);
     addChildAt(fVideo, 0);
     fVideo.autoRewind = false;
fVideo.addEventListener(VideoEvent.COMPLETE, VideoDonePlaying);
fVideo.addEventListener(VideoEvent.READY, VideoReady);

Hmm. It's in connection with Dropbox. Så apparantly you can only use one of the two at the same time if you want the programs integrated in Finder.

Similar Messages

  • I'm having problems with Flash Videos (Youtube and ESPN)

    I have been having this problem for the last couple of days now and it is really annoying. Whenever I watch a flash video like on youtube or espn my computer freezes up and the audio will make a loud buzzing sound. I have attached a video with the post so you can see what happens. I don't have problems with anything else except this. I also get this error no matter what browser I use. I have system restored my PC as far as I can go, and I've ran a ton of scans and driver update checks and nothing seems to work.

    merci a tous pour les nombreuses réponse. j'ai dû mal a les lire vue que je ne lit que le français. je vous remercié encore une fois amicalement. Blanchette 2.
    Date: Mon, 25 Jul 2011 19:50:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: I'm having problems with Flash Videos (Youtube and ESPN)
    What I meant is Hardware Acceleration off (disabled).
    >

  • I'm Having problems with the video freezing and the sound carrying on since I up graded my iPad to ios8  BBC IPLAYER

    I Am having problems with the video freezing and the sound carrying on whilst watching BBC IPLAYER ITV PLAYER until I reboot video and the problem acures again

    Your Mac runs maintenance in the background for you.
    Command + R gives you access to restore, repair, or reformat the drive using OS X Recovery
    No idea why that was suggested.
    You may have a third party video player installed that's causing an incompatibility issue.
    Check these folders:
    /Library/Internet Plug-Ins/
    /Library/Input Methods/
    /Library/InputManagers/
    /Library/ScriptingAdditions
    ~/Library/Internet Plug-Ins/
    ~/Library/Input Methods/
    ~/Library/InputManagers/
    ~/Library/ScriptingAdditions
    The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
    To access the Home folder in OS X Lion or Mountain Lion, open the Finder, hold the Option key, and chooseGo > Library.

  • How do I report a major memory leak problem with Firefox 3.6.10 in WinXP?

    After I installed Firefox 3.6.9 on a WinXP desktop, I occasionally had minor memory leak problems, reflected by getting "out of virtual memory" messages. I upgraded to 3.6.10 when notified that it was available and that it supposedly fixed stability problems. Ever since then, whenever I use Firefox, it starts out quick as a flash, but very rapidly slows down to a crawl, and has twice brought my system to a halt. IE does not cause this, nor any other program I use, but the execution speed of all programs slows as badly as Firefox. If I knew where to get older versions, I would back up to 3.6.9 or earlier. The situation now prevents me from using Firefox much at all.

    Im running windows 7, Firefox 3.6.10 and before i updated to 3.6.10 my CPU never went above 10% with Firefox open. Now it can spike well above 50% and i have nothing different from when i had 3.6.9 to now when i have 3.6.10.
    There is no evidence for me to suggest one of the additions i have is causing it, its all pointing to Firefox itself and the last update.

  • Genius needs to help! problems with my video card and system

    Hey guys! I'm going to post my specs first so that you get a good idea of what I'm running on:
    MSI Neo2 LS 865PE.....MAT=Slow
    Pentium4 2.4C.....FSB=233=2.8C hyperthreading enabled ~>1.55V
    Corsair TwinX 1gig PC3700.....memory on "AUTO" in BIOS with timings at 3,4,4,8 ~> 2.7V
    Radeon 9700NP.....stock speeds ~>1.7V
    AlienX case with 2 fan400 watt power supply and 6 case fans
    Zalman Alum/Copper heatsink fan
    1:I've had this motherboard for a few months now. I upgraded my video card from a nVidia Ti4200(128meg) to a Radeon 9800 a month ago, but I couldn't get it working at 8X AGP, no matter what voltages I threw at it. I returned it for a Radeon 9700NP hoping that it would work, but it still won't.
    I'm using BIOS 1.9 and since there is no option to select your AGP speed, I could only try using ATI's drivers. Once booted into Windows, there is a slider you can move to select you AGP speed. On my machine It says that It has performed some tests and has concluded that AGP 4x is the best for my system....but my system supports AGP 8X!
    I've moved the slider over to 8x (which requires a reboot) at least 5 times with each card but the slider refuses to move past 4xAGP after the reboot.
    2: My second problem: I had an old stick of KingMax PC3200 and decided to buy 3 more sticks. Unfortunatly, the 3 I bought did not match the one I had, so I only put 2 of the new sticks I bought into my system. Immediatly, My system would crash, lock up, files were corrupt, and I got PLENTY of blue screens of death with a long message containing: 0x0000007  with all these other numbers and "0"s. I did a search online and found out I had a hardware incompatibility problem. I never got this with my old stick of ram.
    I returned the 3 sticks of Ram and replaced them with the Corsair. Put my new Radeon 9700 in, formatted my hard drive....and within 24 hours, my system locked up 3 times, rebooted itself 5 times, and gave me the same BSOD as mentioned above with the same long message.  
    I didn't change anything except for the memory and the video card. I've been wanting to overclock, (thats why i bought the faster memory   ) but I'm not sure what to do at this point.
         I have my FSB at 233 but I'm scared to go any higher because of previous system instability at stock speeds. My RAM was running on 400 and MAT=Turbo with the most relaxed timings at 3,4,4,8.
    I've given myself hours of sleepless nights formatting when my system wouldnt boot into windows; overclocking....etc. I NEED HELP. PLEASE. PLEASE. Anything could work at this point.  
         I'm trying to get more info on how to run my system at a 5:4 ratio, also.  
    If anyone has problems like me or knows what could be the problem with my system, please reply to this post, it would help me a lot. I've been trying to fix these problems for a few months now so anything is greatly appreciated.  

    Thanks a lot to you guys that responded. I brought my computer home this past holiday and I want to let you know where I stand as of now. I guess this thread is like my blog for my computer. I want to clear some things before my first post makes everyone confused.
    1- I have only 2 sticks of memory in my system: the Corsair PC3700 TwinX 512x2
    I returned the 3 KingMax I bought, and still keep my old stick just in case.
    2- I am using the 400 watt power supply that came with the case. I read some reviews of the case and I know the reviewer did not have problems with the power supply. In my BIOS, there are some voltages it is weak on. Lets say: it it should be 5.00+, my power supply will be feeding it 4.96v or something like that, but I dont know, or think, that is a major problem...
    3- My computer will refuse to boot if memory speeds are set at anything below 400. SO....if I want to use a 5:4 ratio and have to set my memory speeds to "333" in BIOS, my system refuses to boot.
    4- This morning, I did manage to overclock my FSB to 250. Specs are as follow:
    Memory Timing @3,4,4,8,4.....speed set at "AUTO".....MAT at "SLOW"
    MY 2.4C's FSB was raised to 250 = 3.0gig  
    AGP/PCI frequency: 67.xx/3x.xx (cant go any lower)
    CPU voltage: 1.5500
    Memory voltage: 2.75
    Video Card voltage: 1.7
         Everything was fine for the whole day until I heard something click in my computer around midnight, and then seconds later, my computer froze and made a continuous beeeeeeeeeeeeeeeeeep. (you can imagine)
         This "click" and system crash has been plaguing me for months now. I dont know whay it happens. I was just using AIM when I heard the click and my heart stopped.
    My memory speeds have been set to "AUTO" even at the FSB of 250. But I don't know if this still means my system is at a 1:1 ratio. I know the BIOS then adjusts the memory to work at 500 if my FSB is 250...so I assume it is?    I love 3gig, but somehow I feel that 2.8 is faster, since the FSB=233 running parallel to my memory, also at 233
    A FSB of 250 is good enough for me, that's what I've been waiting 6 months for. If anyone knows how to set other ratios to achieve a FSB of 250+, please let me know, but as I said, my memory won't boot if its set at "333"

  • Memory Leak Issue With Win7 64 bit and Youtube.

    I have a Win7 64 bit using IE9 with version 11.4.402.265 installed. 4 MB installed.
    Whenever I go to Youtube or Liveleak, and watch videos, over time it uses up to 4gigs of my memory! Even if I close the window, it does not free up the memory until I Ctrl/Alt/Delete and shut down the window(s).
    I normally only keep open 1-2 windows. Google toolbar is about the only thing installed. I can open 5 and more tabs, but as long as the site does not use flash, I don't have issues and each window usually uses under 200k memory watching them in task manager.
    When I go to open and watch a youtube video, it slowly climbs to 200k and within an hour, I can be at 2 gigs or more memory and up to 4 gigs within 2 hours (or sometimes much sooner). Closing the window does not release the memory until I end task on it and then after a minute or so, the memory seems to clear and everything is back to normal.
    I searched the forums and seems lots of users, report memory leaks, some using yahoo toolbar installed, which is not my case. I do use yahoo as my e-mail address, no idea if that is related or not. I had the same issue when I had the prior Flash version installed, this has been going on for months. Right now having only this window open, using 129, 192 memory. If I open one more window (using the 64 or 32 bit browser) and start youtube, the memory in that window keeps climbing about 50-100kb a second, so it adds up quickly. I have kaspersky running in the background and that is about it other then my nvida driver setup.
    Really frustrating that so many people here and across the internet have reported this. I did have IE8 a few weeks ago and still had the same issue, upgraded to IE9 to see if that helped.
    Interesting side note, if I pause a video, it slows way down on the memory leak, but still rises at a slower pace. I don't know if this is an IE thing or Flash. I have had this setup since 2009 and don't recall having issues with IE7. I use Youtube so much as a teaching instrument as a music teacher, so constantly have lessons going on it.
    Thanks and hope someone has come up with something. I also build computers and have done some programming, so I could modify a file if needed with clear instructions.

    This could be similar to bug https://bugbase.adobe.com/index.cfm?event=bug&id=3334814

  • How can I address a memory leak problem with Firefox?

    I have happily used Firefox for the past 7 years, and have rarely had difficulties. However, I am having some trouble now; Firefox (running 3.6.6) seems to have a memory leak on my machine. It's slower than what was discussed in other forum posts, but it still scales up slowly to multiple hundred MBs of Memory with very little CPU usage.
    I have tried disabling add-ons and extensions, but this does not stop the problem. I have cleared my cache and other stored data, but that also does not help. Has anyone experienced a similar problem that might be able to help?
    == This happened ==
    Every time Firefox opened
    == within last two weeks

    Hi reble0708,
    I have Java console disabled on my Firefox browser.Everything is working fine for me. There maybe other problem on your browser which is making PDF document faded and blurry. Can you post the link where you found the problem viewing the PDF document?
    Btw, you can go to ftp://ftp.mozilla.org/pub/firefox/releases/ and select the previous version of Firefox from the given options. There's no need to uninstall Firefox before you downgrade to the previous version of it.But before new installation, backup your Firefox profile folder.
    edit: replaced random unofficial download site link.

  • Problem with purchased video playback and app stability

    Music videos I've purchased through the iTMS play for about 20 seconds then the audio stops, and about 5 seconds later the app crashes and returns me to the main menu or the phone reboots; this problem occurs only with a video I've purchased, as any other video or even podcast plays without a hitch. It's something I can recreate without problem, I just have to play a purchased video and it will crash the app.
    I've tried doing a regular reboot and even a full restore, neither of which fixes the problem.
    The applications in general seem stable for the most part, but sometimes I even have problems doing basic functions like browsing pictures in Photos, using Maps, or even typing up something in Notes.
    Do I have a lemon or the start of one? Is there a solution that I've overlooked? What should I do if this is just hardware failure? I really, really enjoy my phone for the majority of it and it's something that I'm always discussing with my friends and family. Thanks in advance for any answers.

    Go to the video settings (iPod nano) and turn off fit to screen.
    Click to download iPod nano (5th generation) - User Guide
    Message was edited by: David M Brewer

  • Problem with loading videos

    Hello, new here. I got my PlayBook and am really enjoying it...except one thing that bugs me to hell, is that videos don't load up completely. I have a poor wifi connection so I usually press pause On youtube and wait for it to load completely. Unfortunately, when I press pause on PlayBook, the video only loads like about 30 seconds before it just stops loading. 
    This is really making my youtube experience really poor as it keeps buffering, especially during the high quality videos. Why won't it just load the entire video like all my other devices. Is the cache too small? 
    Does RIM know about this problem?

    Works perfect for Youtube on mine, and with many other streaming video sources.
    I'd check your weak WiFi connection. If it's slow, the device is certainly going to buffer.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem with previewing videos.  And a second question

    I'm using CS4.  So I got this program in last week and have been working on learning some of the tricks for it.  I'm recording most of my footage in HD.  When viewing fottage in the Source player it's fine, but when I actually use the preview player, the one to the far right by default, the video is choppy and hangs, pretty sure it's just using a bit too much of my resources currently, I don't care about seeing the preview player video in HD,what can I do to make the preview player use less resources but still keep my videos in HD format so that when I export they are still in 720p or 480p.  I know it has to do with creating a new sequence, but can't figure out which setting I need to change and to what.
    Second, sometimes I'm only able to record footage in 480p because of various reasons, I have the ability to record in 720p most of the time, the problem is when I have a project that involves both resolutions.  I can only see 4 options, 1 record the 720p stuff in 480p when the project involves 480p, 2 scale the 480p video up to "720" (and yes I know this isn't ideal but for my projects this may actually work), 3 add the 480p footage in and simply let it be smaller than the 720p footage and last, make 2 different videos one for the 720 one for the 480, and have my video be 2 parts.  Is there any option I missed?  I do not believe I can have mutlple sequences per video file, is that correct?
    Thanks in advance.

    Glad that you saw the red line. Hitting the Enter key will Render your Timeline. It can be limited, by using the WAB (Work Area Bar), in the same area of the timeline. It has a little "bracket" at each end, and you can drag them to limit the WAB. I use this a lot, when I am Keyframing animation and only want to Render a small area. [Note: the WAB can also be used to limit one's Export too.]
    Is there a way I can make sure the sequence matches up to the video I'm importing?
    If you generate the footage, the easiest way to get full determination of its properties, is to note the camera's settings. If you did not shoot the footage, then the freeware utility, G-Spot, will give you all of the info. If necessary, you can do a Desktop Preset (Custom) for your Sequence to make it match your footage. Say your footage was 640 x 320 @ 25 fps. You could set those parameters in your Desktop Sequence settings. You want to match your Project/Sequence to your footage. If you need another size for output, you do that in Adobe Media Encoder (AME).
    Good luck,
    Hunt

  • Having problems with loading video onto my timeline. Video is from archive  mini tape that has been archived then imported

    I have Final Cut Pro X 10.1.4
    The film I have loaded is from a mini tape JVC VU A308kit...
    I have loaded the film onto an external HD then I archived the video and imported it back into FCP.
    I created  an event then a project.
    I have loaded the project onto a timeline , however the project won't play at a normal speed, it plays in fast motion!!!
    Can you help me???
    Cheers Mr T

    cady0139 wrote:
    I can't get my files into quicktime.
    If you select one of the clips in the browser and look in the Inspector>Info, what does it report at the very top on the panel?
    Do you still have the tape? If you do, you could capture it with QuickTime to avoid getting such small clip fragments,
    Russ

  • Problems with loading video

    Screen says "an error occurred loading this content. Only if synchronise is turned off

    Responses can only be as helpful as the details provided, and there really are not any here.  What is giving you this error?  What app or feature were you using when you got this error?  What does the sentence fradment "Only if synchronise is turned off" mean?

  • HT203175 Is anyone having memory leak issues with 64bit Windows 7 and iTunes?

    iTunes runs for a period of time and then a dialog box appears. It takes longer if you let the program change tracks as in a playlist.  You can accelerate the process by picking a new song after they play for a while (double click).  Eventually, you get a dialog box that states - The iTunes Library file cannot be saved. An unknown error occured (-50).  Eventually, the program locks up.

    One thing that you can try that i read was disable the iTunesHelper.exe program either by the msconfig program or just disable the service.  Appearently this can cause a similar issue.  All this program does is open iTunes when you connect your iPod to your USB port.  I am wondering what 64bit patches you guys are on?  Maybe if you list them we can figure out if some Microsoft patch is causing this issue, a circumstance, or bad programming from Apple.  I will review my system and list my patches tomorrow.  I dont remember this always happening, nor do I remember it only happening after an upgrade to the iTunes.exe or iTunes files.  Sometimes, things seems a certain way until you really find out their root cause.  I am still trying to find some time to finish debugging the application.  I didnt realize how big the symbols directory was for Microsoft.  I am finding myself juggling disk space since i am using a laptop.

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
    1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
    sql> select * from videos
    2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
    3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
    4. MySQL server is running
    C:\> C:\mysql\bin\mysqld-nt --standalone
    5. open another DOS window and use the database
    mysql>USE SOUP
    6. succesfully compiled a Java program (javac Test.java):
    import java.sql.* ;
    public class Test
    public static void main( String[] args )
    try
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    try
    Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
    try
    Statement statement = con.createStatement();
    ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
    while ( rs.next() )
    System.out.println( rs.getString( "TITLE" ) );
    rs.close();
    statement.close();
    catch ( SQLException e )
    System.out.println( "JDBC error: " + e );
    finally
    con.close();
    catch( SQLException e )
    System.out.println( "could not get JDBC connection: " + e );
    catch( Exception e )
    System.out.println( "could not load JDBC driver: " + e );
    7. when I run the Java program (java Test), I got
    the message:
    could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    What am I missing?

    Hi,
    I missed to specify test in my last post.
    Try running your program by explicitly setting the classspath when
    running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
    Make sure your jar file contains org.gjt.mm.mysql.Driver class

Maybe you are looking for

  • SBO_SP_TransactionNotification issue

    I have the following issue: I am trying to prevent users from adding A/P Invoices where a flag in a UDF is set to 'N'.  The following clause works in the SBO_SP_TransactionNotification SP going from Purchase Order to A/P Invoice, however, in the even

  • Save for Web only let me save as jpg!

    For some reason, I got a file that's only let me do Save for Web in jpg format. I choose png24, click save and it changes to jpg in the save dialog. Then I created a blank doc, copy everything from the problem file over to the new file and I can Save

  • XSL-FO and watermark on PDF file generated.

    I am using XSLT / XSL-FO to convert my XML to PDF file for the users to take a printout. Under certain conditions I need to have a watermark COPY on the printed paper . Can XSL-FO/XSLT do this for me under certain conditions? Or has this something to

  • Problem to install Visual Composer.

    Hi, I am having some problems to install this versions: NWVC60_0-20000504 About my landscape: I am using two boxes machines: one of them where is installed MSSQL 2000 SP3, and the other one E.P 6.0 SP2 Patch 4 and IIS 5.0. I read Installation Guide 1

  • Delivery from Projects (Foreign Trade Data)

    Dear Friends, I have got a scenerion wherein I have to create a Delivery wrt to a Project. Now the problem is that in my delivery the Foreign Trade data is not appearing by Default. The Same is maintained in the Master. Can anyone guide me of any set