| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This should fix ---
duration_ms: 128.011
exitcode: 1
severity: fail
stack: |-
c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-buffer-write.js:19
throw e;
^
RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at new Uint8Array (<anonymous>)
at new FastBuffer (node:internal/buffer:968:5)
at Buffer.alloc (node:buffer:399:10)
at Object.<anonymous> (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-buffer-write.js:14:22)
at Module._compile (node:internal/modules/cjs/loader:1691:14)
at Object..js (node:internal/modules/cjs/loader:1823:10)
at Module.load (node:internal/modules/cjs/loader:1426:32)
at Module._load (node:internal/modules/cjs/loader:1249:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
Node.js v25.0.0-pre
...
---
duration_ms: 161.012
exitcode: 1
severity: fail
stack: |-
c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-buffer-alloc-unsafe-slow.js:15
throw e;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Comparison {}
- Comparison {
- code: 'ERR_STRING_TOO_LONG'
- }
at Object.<anonymous> (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-buffer-alloc-unsafe-slow.js:12:10)
at Module._compile (node:internal/modules/cjs/loader:1691:14)
at Object..js (node:internal/modules/cjs/loader:1823:10)
at Module.load (node:internal/modules/cjs/loader:1426:32)
at Module._load (node:internal/modules/cjs/loader:1249:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at new Uint8Array (<anonymous>)
at new FastBuffer (node:internal/buffer:968:5)
at createUnsafeBuffer (node:internal/buffer:1114:12)
at Buffer.allocUnsafeSlow (node:buffer:418:10)
at assert.throws.code (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-buffer-alloc-unsafe-slow.js:12:30)
at getActual (node:assert:505:5)
at ok.throws (node:assert:651:24)
at Object.<anonymous> (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-buffer-alloc-unsafe-slow.js:12:10)
at Module._compile (node:internal/modules/cjs/loader:1691:14),
expected: { code: 'ERR_STRING_TOO_LONG' },
operator: 'throws'
}
Node.js v25.0.0-pre
...
---
duration_ms: 168.372
exitcode: 1
severity: fail
stack: |-
c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-slowbuffer.js:19
throw e;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Comparison {}
- Comparison {
- code: 'ERR_STRING_TOO_LONG'
- }
at Object.<anonymous> (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-slowbuffer.js:14:10)
at Module._compile (node:internal/modules/cjs/loader:1691:14)
at Object..js (node:internal/modules/cjs/loader:1823:10)
at Module.load (node:internal/modules/cjs/loader:1426:32)
at Module._load (node:internal/modules/cjs/loader:1249:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at new Uint8Array (<anonymous>)
at new FastBuffer (node:internal/buffer:968:5)
at createUnsafeBuffer (node:internal/buffer:1114:12)
at Buffer.allocUnsafeSlow (node:buffer:418:10)
at assert.throws.code (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-slowbuffer.js:14:30)
at getActual (node:assert:505:5)
at ok.throws (node:assert:651:24)
at Object.<anonymous> (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-buffer-large-size-slowbuffer.js:14:10)
at Module._compile (node:internal/modules/cjs/loader:1691:14),
expected: { code: 'ERR_STRING_TOO_LONG' },
operator: 'throws'
}
Node.js v25.0.0-pre
...
---
duration_ms: 174.014
exitcode: 1
severity: fail
stack: |-
c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-string-decoder-large-buffer.js:26
throw e;
^
RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at new Uint8Array (<anonymous>)
at new FastBuffer (node:internal/buffer:968:5)
at createUnsafeBuffer (node:internal/buffer:1114:12)
at allocate (node:buffer:433:10)
at Buffer.allocUnsafe (node:buffer:408:10)
at Object.<anonymous> (c:\workspace\node-test-binary-windows-js-suites\node\test\pummel\test-string-decoder-large-buffer.js:21:22)
at Module._compile (node:internal/modules/cjs/loader:1691:14)
at Object..js (node:internal/modules/cjs/loader:1823:10)
at Module.load (node:internal/modules/cjs/loader:1426:32)
Node.js v25.0.0-pre
...
|
Sorry, something went wrong.
Use the error message as another condition to skip the test when the buffer allocation fails. Refs: nodejs@795dd8eb7988ae38553e Refs: nodejs@e9c6004a2d580008082b
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## main #58738 +/- ##
==========================================
- Coverage 90.16% 90.12% -0.04%
==========================================
Files 637 639 +2
Lines 188126 188201 +75
Branches 36886 36909 +23
==========================================
- Hits 169620 169617 -3
- Misses 11272 11330 +58
- Partials 7234 7254 +20 see 46 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Co-authored-by: Livia Medeiros <livia@cirno.name>
Sorry, something went wrong.
---
duration_ms: 203.164
exitcode: 134
severity: fail
stack: |2-
<--- Last few GCs --->
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 00007FF6857BD5B9
2: 00007FF686409447
3: 00007FF686208E77
4: 00007FF6861E8E1E
5: 00007FF6861DE4AC
6: 00007FF6861DE15C
7: 00007FF6861DDDA1
8: 00007FF6861F0058
9: 00007FF686AB6D7D
10: 00007FF686AB7092
11: 00007FF6861E0E14
12: 00007FF6861C8733
13: 00007FF6861C26D4
14: 00007FF68620B3DA
15: 00007FF68620A8C6
16: 00007FF68621BE1E
17: 00007FF68621B93B
18: 00007FF68756CAAD
19: 00007FF6862068E6
20: 00007FF6862085ED
21: 00007FF685FF37DA
22: 00007FF685FF366B
23: 00007FF6863DFB8A
24: 00007FF6863DF03B
25: 0000019737E78AFA
... |
Sorry, something went wrong.
|
Regarding the OOM issue - maybe adding something like --max-old-space-size=8000 would help, the default size is ~4GB AFAICT, which doesn't give a lot of wiggle room since the buffer alone is ~4GB. |
Sorry, something went wrong.
Sorry, something went wrong.
Use the error message as another condition to skip the test when the buffer allocation fails. Refs: nodejs#58738
Use the error message as another condition to skip the test when the buffer allocation fails. Refs: #58738 PR-URL: #58771 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
Use the error message as another condition to skip the test when the buffer allocation fails. Refs: 795dd8eb7988ae38553e Refs: e9c6004a2d580008082b PR-URL: #58738 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Use the error message as another condition to skip the test when the buffer allocation fails. Refs: #58738 PR-URL: #58771 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
| Back | FazBrowse Home | New Git URL |
Use the error message as another condition to skip the test when the buffer allocation fails.
Refs: 795dd8eb7988ae38553e
Refs: e9c6004a2d580008082b