Bug 13705 - High RAM usage while playing Flash videos
Summary: High RAM usage while playing Flash videos
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://media.xbox360.ign.com/media/73...
Keywords:
: 16377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-12 22:25 PDT by David Smith
Modified: 2007-12-10 05:23 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2007-05-12 22:25:00 PDT
I hit 700MB RSIZE after doing "play all" on the videos at the URL, then closing all windows. It looks as though the ram usage grows steadily as the video streams, and then doesn't get returned to the system once it's done.

Using the r21432 nightly on 10.4.9/x86
Comment 1 Mark Rowe (bdash) 2007-05-13 03:35:25 PDT
I can reproduce this.  I tried in both release and debug builds of WebKit.  'leaks' indicates no leaks that it could detect.
Comment 2 Mark Rowe (bdash) 2007-05-13 03:36:02 PDT
No obviously relevant leaks I should say.  There are a few minor leaks that appear to stem from other components of the OS.
Comment 3 Mark Rowe (bdash) 2007-05-13 03:50:53 PDT
Camino seems to handle this a lot better.  Loading the first video on the page increases RAM usage by roughly 320MB, which is all deallocated once the window is closed.  In my mind this rules out bad behaviour inside the Flash plugin itself as the cause of the memory use sticking around.
Comment 4 Chris Messina 2007-10-15 23:06:55 PDT
Running Version 3.0.3 (522.12.1) I find that long Google Videos exhibit the same leaky behavior over time. In particular, I played this video for ~45 minutes and by the time I went to stop the video, my system was nearly at a stand still:

http://video.google.com/videoplay?docid=-2171306322262202538&hl=en
Comment 5 Mark Rowe (bdash) 2007-11-24 15:49:25 PST
Fixed with r28006.
Comment 6 Mark Rowe (bdash) 2007-12-10 05:23:29 PST
*** Bug 16377 has been marked as a duplicate of this bug. ***