Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
api_call.js: triggering a NodeReport via API call...
Writing Node.js report to file: NodeReport.20161101.085114.9593.001.txt
Node.js report completed
exception.js: throwing an uncaught user exception....
Writing Node.js report to file: NodeReport.20161101.085114.9599.001.txt
Node.js report completed
loop.js: going into loop now.... use kill -USR2 <pid> to trigger NodeReport
Uncaught #<UserException>
FROM
myException (/home/sam/w/core/nodereport/test/test_2.js:7:3)
Object.<anonymous> (/home/sam/w/core/nodereport/test/test_2.js:15:1)
Module._compile (module.js:570:32)
Object.Module._extensions..js (module.js:579:10)
Module.load (module.js:487:32)
tryModuleLoad (module.js:446:12)
Function.Module._load (module.js:438:3)
Module.runMain (module.js:604:10)
run (bootstrap_node.js:394:7)
startup (bootstrap_node.js:149:9)
bootstrap_node.js:509:3
fatalerror.js: allocating excessive javascript heap memory....
<--- Last few GCs --->
444 ms: Mark-sweep 22.5 (55.8) -> 22.5 (55.8) MB, 45.4 / 0.0 ms (+ 1.2 ms in 4 steps since start of marking, biggest step 0.5 ms) [allocation failure] [GC in old space requested].
488 ms: Mark-sweep 22.5 (55.8) -> 22.5 (55.8) MB, 43.5 / 0.0 ms [allocation failure] [GC in old space requested].
531 ms: Mark-sweep 22.5 (55.8) -> 22.5 (33.8) MB, 43.8 / 0.0 ms [last resort gc].
576 ms: Mark-sweep 22.5 (33.8) -> 22.5 (33.8) MB, 45.0 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x1964d73cfb51 <JS Object>
2: /* anonymous */ [/home/sam/w/core/nodereport/test/test_3.js:~1] [pc=0x2824175e98a] (this=0x32e65f7795b1 <an Object with map 0xc5a529075e9>,exports=0x32e65f7795b1 <an Object with map 0xc5a529075e9>,require=0x32e65f779791 <JS Function require (SharedFunctionInfo 0x32e65f75f0b1)>,module=0x32e65f779709 <a Module with map 0x185a9481bbc9>,__filename=0x32e65f7796c1 <String[42]: /home/sam/w/core...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Writing Node.js report to file: NodeReport.20161101.085114.9600.001.txt
<--- Last few GCs --->
576 ms: Mark-sweep 22.5 (33.8) -> 22.5 (33.8) MB, 45.0 / 0.0 ms [last resort gc].
624 ms: Mark-sweep 22.5 (33.8) -> 22.5 (43.8) MB, 46.3 / 0.0 ms [allocation failure] [GC in old space requested].
667 ms: Mark-sweep 22.5 (43.8) -> 22.5 (43.8) MB, 43.5 / 0.0 ms [allocation failure] [GC in old space requested].
710 ms: Mark-sweep 22.5 (43.8) -> 22.5 (33.8) MB, 43.2 / 0.0 ms [last resort gc].
755 ms: Mark-sweep 22.5 (33.8) -> 22.5 (33.8) MB, 44.3 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
6: /* anonymous */ [/home/sam/w/core/nodereport/test/test_3.js:~1] [pc=0x2824175e98a] (this=0x32e65f7795b1 <an Object with map 0xc5a529075e9>,exports=0x32e65f7795b1 <an Object with map 0xc5a529075e9>,require=0x32e65f779791 <JS Function require (SharedFunctionInfo 0x32e65f75f0b1)>,module=0x32e65f779709 <a Module with map 0x185a9481bbc9>,__filename=0x32e65f7796c1 <String[42]: /home/sam/w/core/nodereport/test/test_3.js>,__dirname=0x32e65...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Writing Node.js report to file: NodeReport.20161101.085115.9606.001.txt
Node.js report completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment