Comments (5)
Only reproducible on Windows release build downloaded
For comparison, here's the same command on Linux (v22.2.0):
└─$ node --max-heap-size=10 -e 'var idx = 0; while (true) {global[idx++] = new Array(10_000_000) }'
<--- Last few GCs --->
[3904:0x6790000] 90 ms: Mark-Compact 79.3 (80.7) -> 79.1 (81.7) MB, pooled: 0 MB, 40.29 / 0.00 ms (average mu = 0.539, current mu = 0.539) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xe18f84 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
2: 0x12102f0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
3: 0x12105c7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
4: 0x14400d5 [node]
5: 0x1459949 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
6: 0x142e018 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
7: 0x142ef45 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
8: 0x14072ae v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node]
9: 0x13f592c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [node]
10: 0x13f6322 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArray(int, v8::internal::AllocationType) [node]
11: 0x15d57f6 [node]
12: 0x15ecdb2 [node]
13: 0x160d2e3 [node]
14: 0x16114e5 v8::internal::ArrayConstructInitializeElements(v8::internal::Handle<v8::internal::JSArray>, v8::internal::Arguments<(v8::internal::ArgumentsType)1>*) [node]
15: 0x185661d v8::internal::Runtime_NewArray(int, unsigned long*, v8::internal::Isolate*) [node]
16: 0x1f1e576 [node]
zsh: IOT instruction (core dumped) node --max-heap-size=10 -e
from node.
@nodejs/platform-windows
from node.
Does it reproduce on older Node.js Windows releases? Maybe there was a regression? Or has it never really worked?
from node.
sup
from node.
Related Issues (20)
- Destructuring assignment in REPL throws `Uncaught TypeError: Cannot read properties of undefined (reading 'type')` HOT 2
- Timeout leaks when converted into a primitive and not cleared HOT 1
- Sk HOT 1
- issue tracker
- express.js
- vm module regression HOT 4
- Bot
- [20.14.0][fs] recursive watch on Linux crashes on `.close()` HOT 6
- Expose system errors HOT 1
- `new Array(2 ** 32)` makes let and const declarations that can't be initialized. HOT 18
- Customize password-based KDF in `KeyObject#export`
- INTERNAL COMPILER ERROR in GitHub Actions (Windows) HOT 3
- trace-atomics-wait doesn't propagate to workers when env is set HOT 6
- `process.argv` gets a different parsed value HOT 13
- Are primordials safe from monkeypatching the [Symbol.species] method? HOT 2
- Spacexxelon
- Test failures with OpenSSL 3.2.2 HOT 2
- GalaxyBot
- Segmentation fault when using inspector on experimental permission enabled process HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.