[webkit-dev] Garbage Collection doesn't fire in time for Video/Audio element removing

Horky horky at sina.com
Thu Mar 7 03:07:36 PST 2013


Hi, all, 

When creating the new video element or audio element and remove it by clearing the innerHTML of parent div node, the used memory will be growing for each time. I doubt if there is no specified garbage collection mechanism for this situation. 

The testing was checked with Mac Safari 6.0 and the MiniBrowser which is provided in the WebKit project. 

That is not a good idea to launch the GC while the video element is removed from the document. But, what is the good solution? Would you please comment it?

Thanks in advance.

--------------- 
Horky

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130307/0239ee1f/attachment.html>


More information about the webkit-dev mailing list