Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. > for (let i = 0; i < 1000000000; i++) {a.push(Math.random()*100000000|0)}
  2.  
  3. <--- Last few GCs --->
  4.  
  5. [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
  6. [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
  7. [492:0x104800000] 111944 ms: Mark-sweep 578.3 (583.3) -> 578.3 (582.3) MB, 63.6 / 0.0 ms last resort
  8. [492:0x104800000] 112007 ms: Mark-sweep 578.3 (582.3) -> 578.3 (582.3) MB, 63.1 / 0.0 ms last resort
  9.  
  10.  
  11. <--- JS stacktrace --->
  12.  
  13. ==== JS stack trace =========================================
  14.  
  15. Security context: 0x3fe776f1ba79 <JS Object>
  16. 2: /* anonymous */ [repl:~1] [pc=0xda52783e9b5](this=0x10a6fca8b7c1 <JS Global Object>)
  17. 6: runInThisContext [vm.js:44] [pc=0xda5277dac11](this=0x2709ce2d4b41 <a ContextifyScript with map 0x20b04961d5e1>,options=0x2709ce2d4b19 <an Object with map 0x20b049650541>)
  18. 8: defaultEval [repl.js:239] [bytecode=0x1e5a1e1a0171 offset=546](this=0x35834111a99 <an REPLServer with map 0x20b04965172...
  19.  
  20. FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
  21. 1: node::Abort() [/usr/local/bin/node]
  22. 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
  23. 3: v8::Utils::ReportOOMFailure(char const*, bool) [/usr/local/bin/node]
  24. 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
  25. 5: v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/local/bin/node]
  26. 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]
  27. 7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
  28. 8: 0xda5276840bd
  29. 9: 0xda5278405c4
  30. Abort trap: 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement