[Webkit-unassigned] [Bug 250569] Terminated worker memory leak
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 15 01:23:23 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=250569
Sam Verschueren <sam.verschueren at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam.verschueren at gmail.com
--- Comment #6 from Sam Verschueren <sam.verschueren at gmail.com> ---
Just want to step in here to say that I see the exact same behaviour when testing StackBlitz WebContainers (https://blog.stackblitz.com/posts/introducing-webcontainers/) in the latest Safari Technology Preview.
We spin up quite some worker (in combination with wasm) and after running some projects and refreshing the page, I also see the `RangeError: Out of Memory`. Just like Jake indicated, refreshing the page does not release the memory and I basically have to close the browser entirely.
When the error happens, and I try to create a memory object in the DevTools console like this, it also throws.
> new WebAssembly.Memory({initial:10, maximum:65535, shared:true})
However, if I set the `maximum` to something much lower like `10`, it works.
So I tried constructing those memory objects in a loop and see if it crashes at some point, but I was able to easily create 300.000 of those objects.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230315/6a256b56/attachment-0001.htm>
More information about the webkit-unassigned
mailing list