[webkit-dev] Garbage Collection doesn't fire in time for Video/Audio element removing
Darin Adler
darin at apple.com
Thu Mar 7 09:36:24 PST 2013
On Mar 7, 2013, at 3:07 AM, Horky <horky at sina.com> wrote:
> 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?
Please file a bug report. It’s improper WebKit project etiquette to report a bug with email to webkit-dev.
-- Darin
More information about the webkit-dev
mailing list