Skip to content

Instantly share code, notes, and snippets.

@ktkaushik
Created December 7, 2016 07:09
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 ktkaushik/34f0e1c51527a971c876e43fb00ae34a to your computer and use it in GitHub Desktop.
Save ktkaushik/34f0e1c51527a971c876e43fb00ae34a to your computer and use it in GitHub Desktop.
pm2 stacktrace
PM2 | Error: spawn ENOMEM
PM2 | at exports._errnoException (util.js:1026:11)
PM2 | at ChildProcess.spawn (internal/child_process.js:302:11)
PM2 | at exports.spawn (child_process.js:380:9)
PM2 | at Object.exports.execFile (child_process.js:143:15)
PM2 | at exports.exec (child_process.js:103:18)
PM2 | at getStaged (/home/deploy/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/vizion/lib/git.js:43:5)
PM2 | at fn (/home/deploy/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/async/lib/async.js:746:34)
PM2 | at /home/deploy/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/async/lib/async.js:1213:16
PM2 | at /home/deploy/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/async/lib/async.js:166:37
PM2 | at /home/deploy/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/async/lib/async.js:706:43
PM2 |
PM2 | <--- Last few GCs --->
PM2 |
PM2 | 1187538200 ms: Scavenge 12.0 (51.0) -> 11.3 (51.0) MB, 5.0 / 0 ms [allocation failure].
PM2 | 1187556641 ms: Scavenge 12.2 (51.0) -> 11.4 (51.0) MB, 5.3 / 0 ms [allocation failure].
PM2 | 1187581247 ms: Scavenge 12.3 (51.0) -> 11.5 (51.0) MB, 2.6 / 0 ms [allocation failure].
PM2 | 1187586770 ms: Scavenge 12.4 (51.0) -> 11.6 (51.0) MB, 6.0 / 0 ms [allocation failure].
PM2 | 1187619040 ms: Scavenge 12.5 (51.0) -> 11.7 (51.0) MB, 66.2 / 1 ms [allocation failure].
PM2 |
PM2 |
PM2 | <--- JS stacktrace --->
PM2 |
PM2 | ==== JS stack trace =========================================
PM2 |
PM2 | Security context: 0x3e8b8d4c9e31 <JS Object>
PM2 | 1: split [native string.js:~276] [pc=0x2a9a3fd1e44b] (this=0x978890ffba9 <String[323]\: D 27160 13755 13755 0 -1 4196352 23744986 5240 143171 23 205071 10939 37 4 20 0 10 0 114172921 1319346176 32101 18446744073709551615 4194304 29088912 140736195071440 140736195065304 16303808 0 0 4096 16898 0 0 0 17 0 0 0 3826 0 0 31186944 31283096 53866496 140736195072820 140736195072913 140736195072913 ...
PM2 |
PM2 | FATAL ERROR: Committing semi space failed. Allocation failed - process out of memory
PM2 | 1: node::Abort() [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 2: 0xfb7bfc [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 3: v8::Utils::ReportApiFailure(char const*, char const*) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 5: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 6: v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 7: v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 8: v8::internal::Factory::NewProperSubString(v8::internal::Handle<v8::internal::String>, int, int) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 9: v8::internal::Runtime_StringSplit(int, v8::internal::Object**, v8::internal::Isolate*) [PM2 v2.1.5: God Daemon (/home/deploy/.pm2)]
PM2 | 10: 0x2a9a3f40961b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment