[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Memory leak when playing flash videos (created with Camtasia)

Posted on 2007-07-30
Medium Priority
Last Modified: 2016-02-10
I am using Windows XP Pro with IE7 and my Thinkpad T42p has 1GB of memory. Ever time I play a flash videos (problem only tested with Camtasia produced flash videos), my computer eventually begins swapping memory due to all the physical RAM being used up.

I am wondering if it is normal for a flash video (created from Camtasia Studio embedded with a time placement scroller) to eat up 800 plus megabytes of physical RAM memory.  I noticed that if I move the time slider up and down or the longer the video is playing, the more memory is "eaten up" until the computer slows to a crawl because there is no physical memory available.

Anyone have similar experience and/or know a solution?
Question by:Shawn Connelly
  • 3
  • 2

Author Comment

by:Shawn Connelly
ID: 19594929
I should point out that the 800 (more or less) megabytes is used by Internet Explorer; the page which is displaying the flash video.
LVL 18

Expert Comment

by:Jason Thompson
ID: 19598618
Are you viewing a video embedded into a SWF, or an external FLV?  What's the file size on your SWF and/or FLV?  

You should only embed short clips into an SWF, and use external FLVs for large clips.

If you're using Flash 8 or better (can't remember if it was in MX), the FLVPlayer component makes publishing video tremendously easy.  Let me know if you need help with this.

Author Comment

by:Shawn Connelly
ID: 19600663
Graphixer: Thanks.... I had mentioned that the swf videos are created by Camtasia studio. I don't have control over the output nor am I creating them.  But to answer your question, the videos are embedded in a swf and are about 25-50 mb in size.

I am just wondering if it is normal for these videos to chew up 800 mb of RAM while they are playing. Most (or all) the memory is released once the IE window (playing the video) is closed.
LVL 18

Accepted Solution

Jason Thompson earned 750 total points
ID: 19603607
Ah, they're output by Camtasia directly to SWFs.  Sorry, I missed that part.

I just tested out a SWF with a 29 meg embedded video, WinXP, IE7, 3GB, and didn't see any significant jump in memory or CPU usage.  It might be that you don't have enough memory allocated to video usage?  I'm not a sys admin, so I'm not sure.

Maybe you can have the Camtasia content output to QuickTime MOV to see if that performs any better?

Sorry I can't be of more help.

Author Comment

by:Shawn Connelly
ID: 20576669
Sorry for the delay. Lost this one. It seems that the problem might have been temporary. Thank you for your participation.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question