GeezerVison is showing github.com — as crash when try to alloc large data · Issue #2827 · AssemblyScript/assemblyscript
as crash when try to alloc large data #2827
Description
Bug description
AS compiler crash after hang up a few second.
Steps to reproduce
npm run asbuild:debug
AssemblyScript version
v0.27.x
Activity
CountBleck commented on Mar 24, 2024
It looks like most of the time is spent in the allocU8Array call here, but the exception (a simple number, like 2153016872) is thrown in the binaryen._BinaryenSetMemory call without any delay there. I'll look into it a bit more.
CountBleck commented on Mar 24, 2024
Hm, I can only guess that it has something to do with the copy here, since binaryen.js's memory might hit the 4 GiB limit there.
added 2 commits that reference this issue
on Mar 25, 2024This issue will close once commit 373166c is merged into the 'main' branch.373166c This issue will close once commit 6a89a09 is merged into the 'main' branch.6a89a09 added 4 commits that reference this issue
on Apr 3, 2024This issue will close once commit 559814d is merged into the 'main' branch.559814d This issue will close once commit ed50aef is merged into the 'main' branch.ed50aef This issue will close once commit 4465767 is merged into the 'main' branch.4465767 This issue will close once commit 163a631 is merged into the 'main' branch.163a631
Metadata
Metadata
Development
No branches or pull requestsIssue actions