Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > for (let i = 0; i < 1000000000; i++) {a.push(Math.random()*100000000|0)}
- <--- Last few GCs --->
- [492:0x104800000] 111812 ms: Mark-sweep 578.3 (583.3) -> 578.3 (583.3) MB, 77.9 / 0.0 ms allocation failure GC in old space requested
- [492:0x104800000] 111880 ms: Mark-sweep 578.3 (583.3) -> 578.3 (583.3) MB, 68.3 / 0.0 ms allocation failure GC in old space requested
- [492:0x104800000] 111944 ms: Mark-sweep 578.3 (583.3) -> 578.3 (582.3) MB, 63.6 / 0.0 ms last resort
- [492:0x104800000] 112007 ms: Mark-sweep 578.3 (582.3) -> 578.3 (582.3) MB, 63.1 / 0.0 ms last resort
- <--- JS stacktrace --->
- ==== JS stack trace =========================================
- Security context: 0x3fe776f1ba79 <JS Object>
- 2: /* anonymous */ [repl:~1] [pc=0xda52783e9b5](this=0x10a6fca8b7c1 <JS Global Object>)
- 6: runInThisContext [vm.js:44] [pc=0xda5277dac11](this=0x2709ce2d4b41 <a ContextifyScript with map 0x20b04961d5e1>,options=0x2709ce2d4b19 <an Object with map 0x20b049650541>)
- 8: defaultEval [repl.js:239] [bytecode=0x1e5a1e1a0171 offset=546](this=0x35834111a99 <an REPLServer with map 0x20b04965172...
- FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
- 1: node::Abort() [/usr/local/bin/node]
- 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
- 3: v8::Utils::ReportOOMFailure(char const*, bool) [/usr/local/bin/node]
- 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
- 5: v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/local/bin/node]
- 6: v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedSmiElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)0> >::GrowCapacity(v8::internal::Handle<v8::internal::JSObject>, unsigned int) [/usr/local/bin/node]
- 7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
- 8: 0xda5276840bd
- 9: 0xda5278405c4
- Abort trap: 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement