[Webkit-unassigned] [Bug 91535] New: [Chromium] Out of Memory is observed when a large object is passed to a Web Worker
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 17 13:32:20 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91535
Summary: [Chromium] Out of Memory is observed when a large
object is passed to a Web Worker
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dimich at chromium.org
CC: eric at webkit.org, levin at chromium.org
When a large object (like an ImageData) is serialized and passed into Web Worker, the MessageEvent that is created for the worker context is small (in V8 mind) but it owns a SerializedScriptValue which can be large. Since V8 does not know about real size of the allocated memeory, it is not scheduling GC for quite a while which can cause OOM in the renderer.
See http://code.google.com/p/chromium/issues/detail?id=132769 for actual repro case.
The fix is to inform V8 about the actual size of the memory owned by the MessageEvent in that case. Patch is coming.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list