Skip to content

Instantly share code, notes, and snippets.

@sam-github
Created October 28, 2016 15:44
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 sam-github/d4cef9d4f5691c44eb06ad97c000a380 to your computer and use it in GitHub Desktop.
Save sam-github/d4cef9d4f5691c44eb06ad97c000a380 to your computer and use it in GitHub Desktop.
api_call.js: triggering a NodeReport via API call...
Writing Node.js report to file: NodeReport.20161028.084405.30239.001.txt
Node.js report completed
loop.js: going into loop now.... use kill -USR2 <pid> to trigger NodeReport
fatalerror.js: allocating excessive javascript heap memory....
exception.js: throwing an uncaught user exception....
Writing Node.js report to file: NodeReport.20161028.084405.30245.001.txt
Node.js report completed
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:573:32)
Object.Module._extensions..js (module.js:582:10)
Module.load (module.js:490:32)
tryModuleLoad (module.js:449:12)
Function.Module._load (module.js:441:3)
Module.runMain (module.js:607:10)
run (bootstrap_node.js:382:7)
startup (bootstrap_node.js:137:9)
bootstrap_node.js:497:3
<--- Last few GCs --->
[30246:0x2734df0] 87 ms: Scavenge 5.2 (13.0) -> 4.9 (14.0) MB, 2.1 / 0.0 ms allocation failure
[30246:0x2734df0] 91 ms: Scavenge 5.8 (14.0) -> 5.6 (18.0) MB, 3.1 / 0.0 ms allocation failure
[30246:0x2734df0] 99 ms: Scavenge 9.5 (18.8) -> 8.2 (19.8) MB, 4.9 / 0.0 ms allocation failure
[30246:0x2734df0] 112 ms: Scavenge 11.4 (21.1) -> 11.4 (31.1) MB, 10.1 / 0.0 ms allocation failure
<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: Scavenger: promoting marked
Allocation failed - process out of memory
Writing Node.js report to file: NodeReport.20161028.084405.30246.001.txt
Writing Node.js report to file: NodeReport.20161028.084406.30252.001.txt
Node.js report completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment