[Webkit-unassigned] [Bug 260017] RangeError: Out of memory when creating (Shared)ArrayBuffer with big maxByteLength

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 17 10:26:56 PDT 2023


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

Yusuke Suzuki <ysuzuki at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
                 CC|                            |ysuzuki at apple.com
             Status|NEW                         |RESOLVED

--- Comment #3 from Yusuke Suzuki <ysuzuki at apple.com> ---
Yes, this is expected behavior. Growable DharedArrayBuffer is designed to allocate virtual memory region with maxByteLength (to allow concurrent access to grown memory), and this means that we need to allocate that from the beginning (the spec itself is designed so) So large size can fail, and expected.

-- 
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/20230817/21d17bb4/attachment-0001.htm>


More information about the webkit-unassigned mailing list