Title: crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes · Issue #65534 · nodejs/node · GitHub
Open Graph Title: crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes · Issue #65534 · nodejs/node
X Title: crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes · Issue #65534 · nodejs/node
Description: Version v26.7.0 (default build) Platform Linux codespaces-f57093 6.8.0-1052-azure #58~22.04.1-Ubuntu SMP Thu Mar 26 05:02:21 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? use a system wi...
Open Graph Description: Version v26.7.0 (default build) Platform Linux codespaces-f57093 6.8.0-1052-azure #58~22.04.1-Ubuntu SMP Thu Mar 26 05:02:21 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps...
X Description: Version v26.7.0 (default build) Platform Linux codespaces-f57093 6.8.0-1052-azure #58~22.04.1-Ubuntu SMP Thu Mar 26 05:02:21 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps...
Opengraph URL: https://github.com/nodejs/node/issues/65534
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"crash when trying to create large arrays (32 GB+) due to V8's check for kMaxReasonableBytes","articleBody":"### Version\n\nv26.7.0 (default build)\n\n### Platform\n\n```text\nLinux codespaces-f57093 6.8.0-1052-azure #58~22.04.1-Ubuntu SMP Thu Mar 26 05:02:21 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\n1. use a system with more than 32 GB of available RAM (e.g. a system with 64 GB should work)\n2. execute following code `new Float64Array(4_294_967_297)`\n\n### How often does it reproduce? Is there a required condition?\n\nAlways, given the system has enough RAM and the node.js/V8 version is more recent.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nAllow the creation of such an array OR throw a RangeError:`RangeError: Array buffer allocation failed` instead of crashing.\n\n### What do you see instead?\n\nNode process crashes with:\n\n```\n#\n# Fatal error in , line 0\n# Check failed: change_in_bytes \u003c kMaxReasonableBytes.\n#\n#\n#\n#FailureMessage Object: 0x7ffc724c2690\n----- Native stack trace -----\n\n 1: 0xa59d91 [node]\n 2: 0x27e0a91 V8_Fatal(char const*, ...) [node]\n 3: 0xca377d [node]\n 4: 0x119eebb [node]\n 5: 0x119ecef [node]\n 6: 0xcd18e2 [node]\n 7: 0xcd0d9a [node]\n 8: 0x7b579be7e9b6 \nTrace/breakpoint trap (core dumped)\n```\n\n### Additional information\n\nIt's not clear to me whether this bug should be resolved in node or V8.\nIt looks like this 32 GB limit could have been introduced into V8 at the end of [last year](https://source.chromium.org/chromium/_/chromium/v8/v8/+/03f4c4d8fef82d8a636add46f2d70d1a1df7c523:src/flags/flag-definitions.h;dlc=0bce46497be294d6e88a176bf0fdeab3b2f11a1e) ([commit](https://source.chromium.org/chromium/_/chromium/v8/v8/+/03f4c4d8fef82d8a636add46f2d70d1a1df7c523)).\n\n\nExternal size check can be switched off with `--external-memory-max-reasonable-size=0`.","author":{"url":"https://github.com/p-","@type":"Person","name":"p-"},"datePublished":"2026-08-25T09:21:20Z","url":"https://github.com/nodejs/node/issues/65534"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:22cd508c-a5ea-57dc-4535-05de26c11f7c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E154:36D84F:84B09F:B0DF57:6AED2AA8 |
| html-safe-nonce | b8091ab0b9f3f80da234b436a664f1697b7dfb30de96cfe9c6d48fac267fece1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTU0OjM2RDg0Rjo4NEIwOUY6QjBERjU3OjZBRUQyQUE4IiwidmlzaXRvcl9pZCI6Ijc2ODczNTAyMTQ0MjY3MDA0NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d9be1dd16ddda04fa903d5528e8bb811ad3c348200a371c1cebd9cd3d9d2e331 |
| hovercard-subject-tag | issue:5244210423 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/65534/issue_layout |
| twitter:image | https://opengraph.githubassets.com/59500f65278bda324336c21fcece2bd52bde0bb37edb425a4b2b71ec6be35067/nodejs/node/issues/65534 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/59500f65278bda324336c21fcece2bd52bde0bb37edb425a4b2b71ec6be35067/nodejs/node/issues/65534 |
| og:image:alt | Version v26.7.0 (default build) Platform Linux codespaces-f57093 6.8.0-1052-azure #58~22.04.1-Ubuntu SMP Thu Mar 26 05:02:21 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | p- |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98b41fa4b5635ceb45a4c54320fced73817ff290 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width