You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes #65534
It's not clear to me whether this bug should be resolved in node or V8.
It looks like this 32 GB limit could have been introduced into V8 at the end of last year (commit).
External size check can be switched off with --external-memory-max-reasonable-size=0.
changed the title [-]crash when trying to create large arrays due to v8's check for kMaxReasonableBytes[/-][+]crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes[/+]on Aug 25, 2026
This is intended behaviour in Chromium, but we should probably provide a default --external-memory-max-reasonable-size=0 to V8 unless user-provided, as growing the heap by >32GB is a valid operation that we shouldn't be crashing on.
Activity
[-]crash when trying to create large arrays due to v8's check for kMaxReasonableBytes[/-][+]crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes[/+]Renegade334 commentedon Aug 25, 2026
This is intended behaviour in Chromium, but we should probably provide a default
--external-memory-max-reasonable-size=0to V8 unless user-provided, as growing the heap by >32GB is a valid operation that we shouldn't be crashing on.src: disable V8 external memory reasonable size check
bitpshr commentedon Aug 31, 2026
Landed as 452c8c5. Thanks for the pointer on the flag @Renegade334, that made it straightforward.
src: disable V8 external memory reasonable size check
src: disable V8 external memory reasonable size check