Skip to content
Snippets Groups Projects
Commit e4a03e03 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] #951 Add memory dump tool for JS engine

parent ff13b8df
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,6 @@ gui/nw
*.swp
*.swo
# Yarn
yarn.lock
# Vagrant
.vagrant/
vagrant/*.log
......
#!/usr/bin/env node
"use strict";
const heapdump = require('heapdump'); // Allow to take heap snapshots on will with "kill -USR2 <pid>" --> generates a heapdump-<id>.heapsnapshot file from where duniter was launched
const co = require('co');
const duniter = require('../index');
const stack = duniter.statics.autoStack();
......
......@@ -44,6 +44,7 @@
"daemonize2": "0.4.2",
"duniter-common": "^1.0.0",
"event-stream": "3.3.4",
"heapdump": "^0.3.9",
"inquirer": "3.0.6",
"jison": "0.4.17",
"merkle": "0.5.1",
......
yarn.lock 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment