[Webkit-unassigned] [Bug 222097] New: Reloading web page with Wasm causes Wasm to have less and less Wasm memory available

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 18 01:48:00 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222097

            Bug ID: 222097
           Summary: Reloading web page with Wasm causes Wasm to have less
                    and less Wasm memory available
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jujjyl at gmail.com

STR:

1. Visit http://clb.confined.space/wasm_grow.html (you can download this for local examination, the file is standalone/self-contained)
2. Click on "new WebAssembly.Memory({ initial: 1 });" button
3. Click on "Grow Wasm" button repeatedly, until "wasm.buffer.byteLength == " field is no longer able to grow.
4. Observe the amount of memory that was possible to be reached.
5. Click on Reload and go to step 2.

Observed:

On subsequent page reloads, there is less and less memory available for the Wasm heap to grow. E.g. in one such test, max heap went from 768 MB -> 544 MB -> 512 MB on each page reload.

-- 
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/20210218/237a8df2/attachment.htm>


More information about the webkit-unassigned mailing list