Skip to content

Instantly share code, notes, and snippets.

@bfelbo
Created March 7, 2018 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfelbo/3e92091f691ac545bc1209ce104ea51a to your computer and use it in GitHub Desktop.
Save bfelbo/3e92091f691ac545bc1209ce104ea51a to your computer and use it in GitHub Desktop.
JS stacktrace
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x92166a25509 <JSObject>
1: connect [/raid/felbo/link_scraping/node_modules/pg-pool/index.js:~139] [pc=0x37a125106b2a](this=0x1c81f5f02201 <EventEmitter map = 0xab3a90d2851>,cb=0x206443438b31 <JSFunction connect (sfi = 0x996f27f6379)>)
2: /* anonymous */ [/raid/felbo/link_scraping/dbInsert.js:~1] [pc=0x37a12510b8e1](this=0x8215680fcd9 <Object map = 0xab3a90823b9>,exports=0x8215680fcd9 <Object map = 0xab3a90823b9>...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x8cae0c [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewUninitializedFixedArray(int) [node]
6: 0xd549b3 [node]
7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [node]
8: 0x37a124f842fd
Aborted (core dumped)
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! bjarke-scraper@0.1.0 insert: `node --max-old-space-size=8192 dbInsert.js`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the bjarke-scraper@0.1.0 insert script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/felbo/.npm/_logs/2018-03-07T05_52_06_369Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment