Git Product home page Git Product logo

node-memwatch's Issues

Error installing it in the Docker alipine node 8.11.4 image

I am having issues installing this package in the docker, and the errors I am getting are down here. Any help appreciated :)

error /usr/src/app/node_modules/memwatch-next: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /usr/src/app/node_modules/memwatch-next
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/src/app/node_modules/memwatch-next/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.node-gyp/8.11.4/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/8.11.4',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/8.11.4/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/src/app/node_modules/memwatch-next',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/src/app/node_modules/memwatch-next/build'
CXX(target) Release/obj.target/memwatch/src/heapdiff.o
In file included from ../src/heapdiff.hh:10:0,
from ../src/heapdiff.cc:12:
/root/.node-gyp/8.11.4/include/node/node.h:22:0: error: unterminated #ifndef
#ifndef SRC_NODE_H_

In file included from ../../nan/nan.h:52:0,
from ../src/heapdiff.hh:11,
from ../src/heapdiff.cc:12:
/root/.node-gyp/8.11.4/include/node/node.h:22:0: error: unterminated #ifndef
#ifndef SRC_NODE_H_

In file included from /root/.node-gyp/8.11.4/include/node/node_buffer.h:25:0,
from ../../nan/nan.h:53,
from ../src/heapdiff.hh:11,
from ../src/heapdiff.cc:12:
/root/.node-gyp/8.11.4/include/node/node.h:22:0: error: unterminated #ifndef
#ifndef SRC_NODE_H_

In file included from ../src/heapdiff.hh:10:0,
from ../src/heapdiff.cc:12:
/root/.node-gyp/8.11.4/include/node/node.h:153:9: error: 'v8::Loca' has not been declared
v8::Localv8::Object recv,
^~~~
In file included from ../../nan/nan.h:51:0,
from ../src/heapdiff.hh:11,
from ../src/heapdiff.cc:12:
/root/.node-gyp/8.11.4/include/node/uv.h:27:1: error: storage class specifiers invalid in parameter declarations
extern "C" {
^~~~~~
/root/.node-gyp/8.11.4/include/node/uv.h:27:1: error: storage class specified for parameter 'parameter'
/root/.node-gyp/8.11.4/include/node/uv.h:27:8: error: expected ',' or '...' before string constant
extern "C" {
^~~
In file included from ../src/heapdiff.cc:12:0:
../src/heapdiff.hh:32:2: error: expected ')' before ';' token
};
^
../src/heapdiff.cc:22:6: error: 'heapdiff' has not been declared
bool heapdiff::HeapDiff::InProgress()
^~~~~~~~
../src/heapdiff.cc:27:1: error: 'heapdiff' does not name a type
heapdiff::HeapDiff::HeapDiff() : ObjectWrap(), before(NULL), after(NULL),
^~~~~~~~
../src/heapdiff.cc:32:1: error: 'heapdiff' does not name a type
heapdiff::HeapDiff::~HeapDiff()
^~~~~~~~
../src/heapdiff.cc:46:1: error: 'heapdiff' has not been declared
heapdiff::HeapDiff::Initialize ( v8::Handlev8::Object target )
^~~~~~~~
../src/heapdiff.cc: In function 'void node::Initialize(v8::Handlev8::Object)':
../src/heapdiff.cc:48:5: error: 'Nan' has not been declared
Nan::HandleScope scope;
^~~
../src/heapdiff.cc:50:41: error: 'Nan' has not been declared
v8::Localv8::FunctionTemplate t = Nan::Newv8::FunctionTemplate(New);
^~~
../src/heapdiff.cc:50:70: error: expected primary-expression before '>' token
v8::Localv8::FunctionTemplate t = Nan::Newv8::FunctionTemplate(New);
^
../src/heapdiff.cc:50:72: error: 'New' was not declared in this scope
v8::Localv8::FunctionTemplate t = Nan::Newv8::FunctionTemplate(New);
^~~
../src/heapdiff.cc:52:21: error: 'Nan' has not been declared
t->SetClassName(Nan::Newv8::String("HeapDiff").ToLocalChecked());
^~~
../src/heapdiff.cc:52:40: error: expected primary-expression before '>' token
t->SetClassName(Nan::Newv8::String("HeapDiff").ToLocalChecked());
^
../src/heapdiff.cc:52:54: error: request for member 'ToLocalChecked' in '("HeapDiff")', which is of non-class type 'const char [9]'
t->SetClassName(Nan::Newv8::String("HeapDiff").ToLocalChecked());
^~~~~~~~~~~~~~
../src/heapdiff.cc:54:5: error: 'Nan' has not been declared
Nan::SetPrototypeMethod(t, "end", End);
^~~
../src/heapdiff.cc:54:39: error: 'End' was not declared in this scope
Nan::SetPrototypeMethod(t, "end", End);
^~~
../src/heapdiff.cc:56:17: error: 'Nan' has not been declared
target->Set(Nan::Newv8::String("HeapDiff").ToLocalChecked(), t->GetFunction());
^~~
../src/heapdiff.cc:56:36: error: expected primary-expression before '>' token
target->Set(Nan::Newv8::String("HeapDiff").ToLocalChecked(), t->GetFunction());
^
../src/heapdiff.cc:56:50: error: request for member 'ToLocalChecked' in '("HeapDiff")', which is of non-class type 'const char [9]'
target->Set(Nan::Newv8::String("HeapDiff").ToLocalChecked(), t->GetFunction());
^~~~~~~~~~~~~~
In file included from ../src/heapdiff.hh:11:0,
from ../src/heapdiff.cc:12:
../src/heapdiff.cc: At global scope:
../../nan/nan.h:1473:5: error: 'Nan' does not name a type
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^
../src/heapdiff.cc:59:1: note: in expansion of macro 'NAN_METHOD'
NAN_METHOD(heapdiff::HeapDiff::New)
^~~~~~~~~~
../src/heapdiff.cc: In function 'void node::buildIDSet(std::set, const v8::HeapGraphNode, int&)':
../src/heapdiff.cc:102:5: error: 'Nan' has not been declared
Nan::HandleScope scope;
^~~
../src/heapdiff.cc: In function 'v8::Handlev8::Value node::changesetToObject(node::changeset&)':
../src/heapdiff.cc:225:5: error: 'Nan' has not been declared
Nan::EscapableHandleScope scope;
^~~
../src/heapdiff.cc:226:22: error: 'Nan' has not been declared
Local a = Nan::Newv8::Array();
^~~
../src/heapdiff.cc:226:40: error: expected primary-expression before '>' token
Local a = Nan::Newv8::Array();
^
../src/heapdiff.cc:226:42: error: expected primary-expression before ')' token
Local a = Nan::Newv8::Array();
^
../src/heapdiff.cc:229:27: error: 'Nan' has not been declared
Local d = Nan::Newv8::Object();
^~~
../src/heapdiff.cc:229:46: error: expected primary-expression before '>' token
Local d = Nan::Newv8::Object();
^
../src/heapdiff.cc:229:48: error: expected primary-expression before ')' token
Local d = Nan::Newv8::Object();
^
../src/heapdiff.cc:230:16: error: 'Nan' has not been declared
d->Set(Nan::New("what").ToLocalChecked(), Nan::New(i->first.c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:230:51: error: 'Nan' has not been declared
d->Set(Nan::New("what").ToLocalChecked(), Nan::New(i->first.c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:231:16: error: 'Nan' has not been declared
d->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::Newv8::Number(i->second.size));
^~~
../src/heapdiff.cc:231:57: error: 'Nan' has not been declared
d->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::Newv8::Number(i->second.size));
^~~
../src/heapdiff.cc:231:76: error: expected primary-expression before '>' token
d->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::Newv8::Number(i->second.size));
^
../src/heapdiff.cc:232:16: error: 'Nan' has not been declared
d->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(i->second.size).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:232:51: error: 'Nan' has not been declared
d->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(i->second.size).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:233:16: error: 'Nan' has not been declared
d->Set(Nan::New("+").ToLocalChecked(), Nan::Newv8::Number(i->second.added));
^~~
../src/heapdiff.cc:233:48: error: 'Nan' has not been declared
d->Set(Nan::New("+").ToLocalChecked(), Nan::Newv8::Number(i->second.added));
^~~
../src/heapdiff.cc:233:67: error: expected primary-expression before '>' token
d->Set(Nan::New("+").ToLocalChecked(), Nan::Newv8::Number(i->second.added));
^
../src/heapdiff.cc:234:16: error: 'Nan' has not been declared
d->Set(Nan::New("-").ToLocalChecked(), Nan::Newv8::Number(i->second.released));
^~~
../src/heapdiff.cc:234:48: error: 'Nan' has not been declared
d->Set(Nan::New("-").ToLocalChecked(), Nan::Newv8::Number(i->second.released));
^~~
../src/heapdiff.cc:234:67: error: expected primary-expression before '>' token
d->Set(Nan::New("-").ToLocalChecked(), Nan::Newv8::Number(i->second.released));
^
../src/heapdiff.cc:238:12: error: 'scope' was not declared in this scope
return scope.Escape(a);
^~~~~
../src/heapdiff.cc: In function 'v8::Localv8::Value node::compare(const v8::HeapSnapshot*, const v8::HeapSnapshot*)':
../src/heapdiff.cc:245:5: error: 'Nan' has not been declared
Nan::EscapableHandleScope scope;
^~~
../src/heapdiff.cc:248:23: error: 'Nan' has not been declared
Local o = Nan::Newv8::Object();
^~~
../src/heapdiff.cc:248:42: error: expected primary-expression before '>' token
Local o = Nan::Newv8::Object();
^
../src/heapdiff.cc:248:44: error: expected primary-expression before ')' token
Local o = Nan::Newv8::Object();
^
../src/heapdiff.cc:251:23: error: 'Nan' has not been declared
Local b = Nan::Newv8::Object();
^~~
../src/heapdiff.cc:251:42: error: expected primary-expression before '>' token
Local b = Nan::Newv8::Object();
^
../src/heapdiff.cc:251:44: error: expected primary-expression before ')' token
Local b = Nan::Newv8::Object();
^
../src/heapdiff.cc:252:12: error: 'Nan' has not been declared
b->Set(Nan::New("nodes").ToLocalChecked(), Nan::New(before->GetNodesCount()));
^~~
../src/heapdiff.cc:252:48: error: 'Nan' has not been declared
b->Set(Nan::New("nodes").ToLocalChecked(), Nan::New(before->GetNodesCount()));
^~~
../src/heapdiff.cc:254:12: error: 'Nan' has not been declared
o->Set(Nan::New("before").ToLocalChecked(), b);
^~~
../src/heapdiff.cc:256:23: error: 'Nan' has not been declared
Local a = Nan::Newv8::Object();
^~~
../src/heapdiff.cc:256:42: error: expected primary-expression before '>' token
Local a = Nan::Newv8::Object();
^
../src/heapdiff.cc:256:44: error: expected primary-expression before ')' token
Local a = Nan::Newv8::Object();
^
../src/heapdiff.cc:257:12: error: 'Nan' has not been declared
a->Set(Nan::New("nodes").ToLocalChecked(), Nan::New(after->GetNodesCount()));
^~~
../src/heapdiff.cc:257:48: error: 'Nan' has not been declared
a->Set(Nan::New("nodes").ToLocalChecked(), Nan::New(after->GetNodesCount()));
^~~
../src/heapdiff.cc:259:12: error: 'Nan' has not been declared
o->Set(Nan::New("after").ToLocalChecked(), a);
^~~
../src/heapdiff.cc:265:12: error: 'Nan' has not been declared
b->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New(s));
^~~
../src/heapdiff.cc:265:53: error: 'Nan' has not been declared
b->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New(s));
^~~
../src/heapdiff.cc:266:12: error: 'Nan' has not been declared
b->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(s).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:266:47: error: 'Nan' has not been declared
b->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(s).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:271:12: error: 'Nan' has not been declared
a->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New(s));
^~~
../src/heapdiff.cc:271:53: error: 'Nan' has not been declared
a->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New(s));
^~~
../src/heapdiff.cc:272:12: error: 'Nan' has not been declared
a->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(s).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:272:47: error: 'Nan' has not been declared
a->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(s).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:276:23: error: 'Nan' has not been declared
Local c = Nan::Newv8::Object();
^~~
../src/heapdiff.cc:276:42: error: expected primary-expression before '>' token
Local c = Nan::Newv8::Object();
^
../src/heapdiff.cc:276:44: error: expected primary-expression before ')' token
Local c = Nan::Newv8::Object();
^
../src/heapdiff.cc:277:12: error: 'Nan' has not been declared
c->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New(diffBytes));
^~~
../src/heapdiff.cc:277:53: error: 'Nan' has not been declared
c->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New(diffBytes));
^~~
../src/heapdiff.cc:278:12: error: 'Nan' has not been declared
c->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(diffBytes).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:278:47: error: 'Nan' has not been declared
c->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceSize(diffBytes).c_str()).ToLocalChecked());
^~~
../src/heapdiff.cc:279:12: error: 'Nan' has not been declared
o->Set(Nan::New("change").ToLocalChecked(), c);
^~~
../src/heapdiff.cc:284:12: error: 'Nan' has not been declared
c->Set(Nan::New("freed_nodes").ToLocalChecked(), Nan::Newv8::Number(changedIDs.size()));
^~~
../src/heapdiff.cc:284:54: error: 'Nan' has not been declared
c->Set(Nan::New("freed_nodes").ToLocalChecked(), Nan::Newv8::Number(changedIDs.size()));
^~~
../src/heapdiff.cc:284:73: error: expected primary-expression before '>' token
c->Set(Nan::New("freed_nodes").ToLocalChecked(), Nan::Newv8::Number(changedIDs.size()));
^
../src/heapdiff.cc:300:12: error: 'Nan' has not been declared
c->Set(Nan::New("allocated_nodes").ToLocalChecked(), Nan::Newv8::Number(changedIDs.size()));
^~~
../src/heapdiff.cc:300:58: error: 'Nan' has not been declared
c->Set(Nan::New("allocated_nodes").ToLocalChecked(), Nan::Newv8::Number(changedIDs.size()));
^~~
../src/heapdiff.cc:300:77: error: expected primary-expression before '>' token
c->Set(Nan::New("allocated_nodes").ToLocalChecked(), Nan::Newv8::Number(changedIDs.size()));
^
../src/heapdiff.cc:307:12: error: 'Nan' has not been declared
c->Set(Nan::New("details").ToLocalChecked(), changesetToObject(changes));
^~~
../src/heapdiff.cc:309:12: error: 'scope' was not declared in this scope
return scope.Escape(o);
^~~~~
In file included from ../src/heapdiff.hh:11:0,
from ../src/heapdiff.cc:12:
../src/heapdiff.cc: At global scope:
../../nan/nan.h:1473:5: error: 'Nan' does not name a type
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^
../src/heapdiff.cc:312:1: note: in expansion of macro 'NAN_METHOD'
NAN_METHOD(heapdiff::HeapDiff::End)
^~~~~~~~~~
../src/heapdiff.cc:348:1: error: expected '}' at end of input
}
^
../src/heapdiff.cc:243:1: warning: 'v8::Localv8::Value node::compare(const v8::HeapSnapshot*, const v8::HeapSnapshot*)' defined but not used [-Wunused-function]
compare(const v8::HeapSnapshot * before, const v8::HeapSnapshot * after)
^~~~~~~
../src/heapdiff.cc:20:15: warning: 'node::s_startTime' defined but not used [-Wunused-variable]
static time_t s_startTime;
^~~~~~~~~~~
make: *** [memwatch.target.mk:98: Release/obj.target/memwatch/src/heapdiff.o] Error 1
make: Leaving directory '/usr/src/app/node_modules/memwatch-next/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.9.93-boot2docker
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/src/app/node_modules/memwatch-next
gyp ERR! node -v v8.11.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command

can't install on node 8.x

node -v
v8.1.1

[email protected] install /opt/dev/uniqcast/tvmid/core/node_modules/memwatch-next
node-gyp rebuild

gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which succeeded python2 /usr/local/bin/python2
gyp verb check python version /usr/local/bin/python2 -c "import platform; print(platform.python_version());" returned: "2.7.13\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.1.1
gyp verb command install [ '8.1.1' ]
gyp verb install input version string "8.1.1"
gyp verb install installing version: 8.1.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 8.1.1
gyp verb ensuring nodedir is created /Users/mkozjak/.node-gyp/8.1.1
gyp verb created nodedir /Users/mkozjak/.node-gyp/8.1.1
gyp http GET https://nodejs.org/download//v8.1.1/node-v8.1.1-headers.tar.gz
gyp http 404 https://nodejs.org/download//v8.1.1/node-v8.1.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp verb command remove [ '8.1.1' ]
gyp verb remove using node-gyp dir: /Users/mkozjak/.node-gyp
gyp verb remove removing target version: 8.1.1
gyp verb remove removing development files for version: 8.1.1
gyp ERR! configure error
gyp ERR! stack Error: 404 response downloading https://nodejs.org/download//v8.1.1/node-v8.1.1-headers.tar.gz
gyp ERR! stack at Request. (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:210:14)
gyp ERR! stack at emitOne (events.js:120:20)
gyp ERR! stack at Request.emit (events.js:210:7)
gyp ERR! stack at Request.onRequestResponse (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1074:10)
gyp ERR! stack at emitOne (events.js:115:13)
gyp ERR! stack at ClientRequest.emit (events.js:210:7)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:564:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)
gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:453:20)
gyp ERR! stack at emitOne (events.js:115:13)
gyp ERR! System Darwin 16.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/dev/uniqcast/tvmid/core/node_modules/memwatch-next
gyp ERR! node -v v8.1.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Please mark as deprecated

Code hasn't been updated since 2017 and doesn't work on latest versions of Node. Please mark this project as deprecated.

Profilig heaps with memwatch

  • Is there possible to profile heap w/o changing source code?
  • Is there possible to log in what variables, array indexes, code fragments?
  • Is there some alternatives for node-memwatch?

Issue with node 7.4.0

Is there an issue with building with node 7.4.0? I'm getting the next error when trying to build:

Error: Error relocating /opt/service/node_modules/memwatch-next/build/Release/memwatch.node: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi: symbol not found

cannot install on MacOS

errors as following:

node-gyp rebuild

CXX(target) Release/obj.target/memwatch/src/heapdiff.o
In file included from ../src/heapdiff.cc:12:
../src/heapdiff.hh:18:38: error: no template named 'Handle' in namespace 'v8'
static void Initialize ( v8::Handlev8::Object target );
~~~~^
../src/heapdiff.cc:46:21: error: variable has incomplete type 'void'
heapdiff::HeapDiff::Initialize ( v8::Handlev8::Object target )
^
../src/heapdiff.cc:46:55: error: expected '(' for function-style cast or type
construction
heapdiff::HeapDiff::Initialize ( v8::Handlev8::Object target )
~~~~~~~~~~^
../src/heapdiff.cc:46:38: error: no member named 'Handle' in namespace 'v8'
heapdiff::HeapDiff::Initialize ( v8::Handlev8::Object target )
~~~~^
../src/heapdiff.cc:46:57: error: use of undeclared identifier 'target'
heapdiff::HeapDiff::Initialize ( v8::Handlev8::Object target )
^
../src/heapdiff.cc:46:65: error: expected ';' after top level declarator
heapdiff::HeapDiff::Initialize ( v8::Handlev8::Object target )
^
;
../src/heapdiff.cc:132:14: error: unknown type name 'idset'
void setDiff(idset a, idset b, vector<uint64_t> &c)
^
../src/heapdiff.cc:132:23: error: unknown type name 'idset'
void setDiff(idset a, idset b, vector<uint64_t> &c)
^
../src/heapdiff.cc:134:10: error: use of undeclared identifier 'idset'
for (idset::iterator i = a.begin(); i != a.end(); i++) {
^
../src/heapdiff.cc:134:17: error: use of class template 'iterator' requires
template arguments
for (idset::iterator i = a.begin(); i != a.end(); i++) {
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:627:29: note:
template is declared here
struct _LIBCPP_TEMPLATE_VIS iterator
^
../src/heapdiff.cc:182:25: error: use of undeclared identifier 'handleToStr'
type.append(handleToStr(node->GetName()));
^
../src/heapdiff.cc:223:8: error: no template named 'Handle'
static Handle changesetToObject(changeset & changes)
^
../src/heapdiff.cc:230:12: error: no matching member function for call to 'Set'
d->Set(Nan::New("what").ToLocalChecked(), Nan::New(i->first.c_str...
~~~^~~
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3670:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3673:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
../src/heapdiff.cc:231:12: error: no matching member function for call to 'Set'
d->Set(Nan::New("size_bytes").ToLocalChecked(), Nan::New<v8::Numb...
~~~^~~
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3670:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3673:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
../src/heapdiff.cc:232:12: error: no matching member function for call to 'Set'
d->Set(Nan::New("size").ToLocalChecked(), Nan::New(mw_util::niceS...
~~~^~~
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3670:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3673:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
../src/heapdiff.cc:233:12: error: no matching member function for call to 'Set'
d->Set(Nan::New("+").ToLocalChecked(), Nan::Newv8::Number(i->se...
~~~^~~
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3670:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3673:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
../src/heapdiff.cc:234:12: error: no matching member function for call to 'Set'
d->Set(Nan::New("-").ToLocalChecked(), Nan::Newv8::Number(i->se...
~~~^~~
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3670:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3673:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
../src/heapdiff.cc:235:12: error: no matching member function for call to 'Set'
a->Set(a->Length(), d);
~~~^~~
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3670:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/didi/Library/Caches/node-gyp/14.8.0/include/node/v8.h:3673:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
../src/heapdiff.cc:238:12: error: no viable conversion from returned value of
type 'v8::Local' to function return type 'int'
return scope.Escape(a);
^~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/memwatch/src/heapdiff.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/didi/Documents/mabin/bingo/auto-t/node_modules/memwatch-next
gyp ERR! node -v v14.8.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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:

cannot install memwatch-next for node v8.x

Getting errors while install memwatch-next for node version > v8.x as it runs node-gyp rebuild

[email protected] install /home/aman/builtio/excel-adaptors/node_modules/memwatch-next
node-gyp rebuild

make: Entering directory '/home/aman/builtio/excel-adaptors/node_modules/memwatch-next/build'
CXX(target) Release/obj.target/memwatch/src/heapdiff.o
CXX(target) Release/obj.target/memwatch/src/init.o
../src/init.cc: In function ‘void init(v8::Handlev8::Object)’:
../src/init.cc:20:17: warning: ‘static void v8::V8::AddGCEpilogueCallback(v8::GCCallback, v8::GCType)’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
In file included from /home/aman/.node-gyp/8.11.1/include/node/v8.h:26:0,
from ../src/init.cc:5:
/home/aman/.node-gyp/8.11.1/include/node/v8.h:7901:12: note: declared here
void AddGCEpilogueCallback(GCCallback callback,
^
/home/aman/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/init.cc:20:57: warning: ‘static void v8::V8::AddGCEpilogueCallback(v8::GCCallback, v8::GCType)’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
In file included from /home/aman/.node-gyp/8.11.1/include/node/v8.h:26:0,
from ../src/init.cc:5:
/home/aman/.node-gyp/8.11.1/include/node/v8.h:7901:12: note: declared here
void AddGCEpilogueCallback(GCCallback callback,
^
/home/aman/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
CXX(target) Release/obj.target/memwatch/src/memwatch.o
../src/memwatch.cc: In function ‘void AsyncMemwatchAfter(uv_work_t*)’:
../src/memwatch.cc:128:35: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
g_cb->Call(3, argv);
^
In file included from ../src/memwatch.hh:9:0,
from ../src/memwatch.cc:6:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^
../src/memwatch.cc:203:31: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value
) const’ is deprecated [-Wdeprecated-declarations]
g_cb->Call(3, argv);
^
In file included from ../src/memwatch.hh:9:0,
from ../src/memwatch.cc:6:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^
CXX(target) Release/obj.target/memwatch/src/util.o
SOLINK_MODULE(target) Release/obj.target/memwatch.node
COPY Release/memwatch.node

memwatch-next build error

D:\reps\mysite>npm -v
4.0.5
D:\reps\mysite>node -v
v7.4.0

commands and answers in cmd below
D:\reps\mysite>yarn
yarn install v0.19.1
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning "[email protected]" has unmet peer dependency "webpack@1 || 2 || ^2.1.
0-beta || ^2.2.0-rc".
[4/4] Building fresh packages...
[1/1] ? memwatch-next: not ok
[-/1] ? waiting...
[-/1] ? waiting...
[-/1] ? waiting...
error D:\reps\mysite\node_modules\memwatch-next: Command failed.
Exit code: 1
Command: C:\Windows\system32\cmd.exe
Arguments: /d /s /c node-gyp rebuild
Directory: D:\reps\mysite\node_modules\memwatch-next
Output:
D:\reps\mysite\node_modules\memwatch-next>if not defined npm_config_node_gyp (
node "C:\Program Files (x86)\Yarn\bin\node-gyp-bin\....\node_modules\node-gyp
bin\node-gyp.js" rebuild ) else (node rebuild )
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp http GET https://nodejs.org/download/release/v7.4.0/node-v7.4.0-headers.tar.
gz
gyp http 200 https://nodejs.org/download/release/v7.4.0/node-v7.4.0-headers.tar.
gz
gyp http GET https://nodejs.org/download/release/v7.4.0/SHASUMS256.txt
gyp http GET https://nodejs.org/download/release/v7.4.0/win-x64/node.lib
gyp http GET https://nodejs.org/download/release/v7.4.0/win-x86/node.lib
gyp http 200 https://nodejs.org/download/release/v7.4.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v7.4.0/win-x64/node.lib
gyp http 200 https://nodejs.org/download/release/v7.4.0/win-x86/node.lib
gyp info spawn C:\Python27\python.EXE
gyp info spawn args [ 'C:\Program Files (x86)\Yarn\node_modules\node-gyp\gy
p\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'D:\reps\mysite\node_modules\memwatch-next\build\c
onfig.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Program Files (x86)\Yarn\node_modules\node-gyp\ad
don.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Администратор\.node-gyp\7.4.0\include\node
\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Администратор\.node-gyp\7.4.
0',
gyp info spawn args '-Dnode_gyp_dir=C:\Program Files (x86)\Yarn\node_module
s\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\reps\mysite\node_modules\memwa
tch-next',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'D:\reps\mysite\node_modules\memwatch-next\build',
gyp info spawn args '-Goutput_dir=.' ]
Traceback (most recent call last):
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\gyp_main.py", line
16, in
sys.exit(gyp.script_main())
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp_init_
.py", line 545, in script_main
return main(sys.argv[1:])
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp_init_
.py", line 538, in main
return gyp_main(args)
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp_init_
.py", line 514, in gyp_main
options.duplicate_basename_check)
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp_init_
.py", line 130, in Load
params['parallel'], params['root_targets'])
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp\input.py
", line 2778, in Load
variables, includes, depth, check, True)
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp\input.py
", line 420, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp\input.py
", line 1217, in ProcessVariablesAndConditionsInDict
variables, build_file, 'variables')
File "C:\Program Files (x86)\Yarn\node_modules\node-gyp\gyp\pylib\gyp\input.py
", line 1228, in ProcessVariablesAndConditionsInDict
'only, found ' + expanded.class.name + ' for ' + key)
ValueError: Variable expansion in this context permits str and int only, found l
ong for lastUpdateCheck while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files (x86)\Yarn\node_mo
dules\node-gyp\lib\configure.js:308:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files (x86)
\Yarn\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\reps\mysite\node_modules\memwatch-next
gyp ERR! node -v v7.4.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this
command.

D:\reps\mysite>npm install memwatch-next

[email protected] install D:\reps\mysite\node_modules\memwatch-next
node-gyp rebuild

D:\reps\mysite\node_modules\memwatch-next>if not defined npm_config_node_gyp (
node "C:\Users\WebProgAlexeyG\nvm\v7.4.0\node_modules\npm\bin\node-gyp-bin\...
.\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Сборка проектов в этом решении по одному. Чтобы включить параллельную сборку, до
бавьте параметр "/m".
heapdiff.cc
init.cc
memwatch.cc
util.cc
..\src\init.cc(5): fatal error C1083: Cannot open include file: 'v8.h': No such
file or directory [D:\reps\mysite\node_modules\memwatch-next\build\memwatch.
vcxproj]
win_delay_load_hook.cc
d:\reps\mysite\node_modules\memwatch-next\src\memwatch.hh(8): fatal error C10
83: Cannot open include file: 'node.h': No such file or directory (compiling so
urce file ..\src\memwatch.cc) [D:\reps\mysite\node_modules\memwatch-next\buil
d\memwatch.vcxproj]
d:\reps\mysite\node_modules\memwatch-next\src\heapdiff.hh(8): fatal error C10
83: Cannot open include file: 'v8.h': No such file or directory (compiling sour
ce file ..\src\heapdiff.cc) [D:\reps\mysite\node_modules\memwatch-next\build
memwatch.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\WebProgAlexeyG\nvm\v7.4.0\no
de_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\WebProgAlexey
G\nvm\v7.4.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "re
build"
gyp ERR! cwd D:\reps\mysite\node_modules\memwatch-next
gyp ERR! node -v v7.4.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\ch
okidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"
})
npm WARN [email protected] requires a peer of webpack@1 || 2 || ^2.1.0-beta ||
^2.2.0-rc but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "memwatch-next"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the memwatch-next package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs memwatch-next
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls memwatch-next
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\reps\mysite\npm-debug.log

npm-debug.txt

cannot install on node v11.8.0

npm install memwatch-next

[email protected] install /Users/apple/.nvm/node_modules/memwatch-next
node-gyp rebuild

CXX(target) Release/obj.target/memwatch/src/heapdiff.o
../src/heapdiff.cc:95:35: warning: 'ToString' is deprecated: Use maybe version
[-Wdeprecated-declarations]
String::Utf8Value utfString(str->ToString());
^
/Users/apple/.node-gyp/11.8.0/include/node/v8.h:2548:10: note: 'ToString' has
been explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local ToString() const);
^
/Users/apple/.node-gyp/11.8.0/include/node/v8config.h:326:29: note: expanded
from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
../src/heapdiff.cc:95:20: warning: 'Utf8Value' is deprecated: Use Isolate
version [-Wdeprecated-declarations]
String::Utf8Value utfString(str->ToString());
^
/Users/apple/.node-gyp/11.8.0/include/node/v8.h:2991:5: note: 'Utf8Value' has
been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/apple/.node-gyp/11.8.0/include/node/v8config.h:326:29: note: expanded
from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
2 warnings generated.
CXX(target) Release/obj.target/memwatch/src/init.o
../src/init.cc:20:9: error: no type named 'AddGCEpilogueCallback' in 'v8::V8';
did you mean 'Nan::GCEpilogueCallback'?
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nan::GCEpilogueCallback
../../nan/nan.h:745:35: note: 'Nan::GCEpilogueCallback' declared here
typedef v8::Isolate::GCCallback GCEpilogueCallback;
^
../src/init.cc:20:49: error: definition or redeclaration of 'after_gc' not
allowed inside a function
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
~~~~~~~~~~^
2 errors generated.
make: *** [Release/obj.target/memwatch/src/init.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:197:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/apple/.nvm/node_modules/memwatch-next
gyp ERR! node -v v11.8.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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! /Users/apple/.npm/_logs/2019-01-28T06_57_42_231Z-debug.log

Create Pre-builds

It would be nice to have releases along with pre-builds hosted on github so that you don't have to compile to get the native part of this module.

bindings.js:83 Uncaught Error: Module version mismatch. Expected 50, got 48

node version : 6.8.1 (same error for LTS version)
mac osx: 10.11 (el capitan)
xcode 8 installed
framework: (electron)

tried reinstall etc..

[email protected] install ../node_modules/memwatch-next

node-gyp rebuild

CXX(target) Release/obj.target/memwatch/src/heapdiff.o
CXX(target) Release/obj.target/memwatch/src/init.o
../src/init.cc:20:17: warning: 'AddGCEpilogueCallback' is deprecated
[-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
/Users/x/.node-gyp/6.8.1/include/node/v8.h:6475:12: note:
'AddGCEpilogueCallback' has been explicitly marked deprecated here
void AddGCEpilogueCallback(GCCallback callback,
^
1 warning generated.
CXX(target) Release/obj.target/memwatch/src/memwatch.o
CXX(target) Release/obj.target/memwatch/src/util.o
SOLINK_MODULE(target) Release/memwatch.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9

code: var memwatch = require('memwatch-next');

Can not compile on windows

On Windows I get compilation error:

c:\devenv\projects\experiments\node-httpd\node_modules\memwatch\src\memwatch.hh(12): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\src
memwatch.cc) [c:\DevEnv\projects\experiments\node-httpd\node_modules\memwatch\build\memwatch.vcxproj]
c:\users\bela.node-gyp\7.2.1\include\node\v8.h(69): note: see declaration of 'v8' (compiling source file ..\src\memwatch.cc)
c:\devenv\projects\experiments\node-httpd\node_modules\memwatch\src\memwatch.hh(12): error C4430: missing type specifier - int assumed. Note: C++ does not support de
fault-int (compiling source file ..\src\memwatch.cc) [c:\DevEnv\projects\experiments\node-httpd\node_modules\memwatch\build\memwatch.vcxproj]
c:\devenv\projects\experiments\node-httpd\node_modules\memwatch\src\memwatch.hh(12): error C2143: syntax error: missing ',' before '&' (compiling source file ..\src\

Can't install on Node v13.6.0 with npm 6.13.4, 'Handle': is not member of 'v8'

Have been trying to install plenty of times and updating node etc. but I keep getting this same error

https://pastebin.com/qkaPrsM0

all starting from

c:\users\gebruiker\code\discordbot\node_modules\memwatch-next\src\heapdiff.hh(18): error C2039: 'Handle': is not a member of 'v8' (compiling source file ..\src\memwatch.cc) [C:\Users\Gebruiker\code\discordbot\node_
modules\memwatch-next\build\memwatch.vcxproj]
  c:\users\gebruiker\appdata\local\node-gyp\cache\13.6.0\include\node\v8-profiler.h(55): note: see declaration of 'v8' (compiling source file ..\src\memwatch.cc)

can't compile for Node v7.2.2

➜  node-nanomsg git:(master) ✗ node -v
v7.2.1
➜  node-nanomsg git:(master) ✗ npm install memwatch

> [email protected] install /Users/wangstabill/Code/nodejs/node-nanomsg/node_modules/memwatch
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CXX(target) Release/obj.target/memwatch/src/heapdiff.o
In file included from ../src/heapdiff.cc:5:
../src/heapdiff.hh:14:35: error: expected class name
    class HeapDiff : public node::ObjectWrap
                                  ^
../src/heapdiff.hh:19:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
        static v8::Handle<v8::Value> New( const v8::Arguments& args );
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:148:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/heapdiff.cc:5:
../src/heapdiff.hh:20:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
        static v8::Handle<v8::Value> End( const v8::Arguments& args );
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:148:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/heapdiff.cc:30:34: error: member initializer 'ObjectWrap' does not name a non-static data member or base class
heapdiff::HeapDiff::HeapDiff() : ObjectWrap(), before(NULL), after(NULL),
                                 ^~~~~~~~~~~~
../src/heapdiff.cc:51:21: error: calling a protected constructor of class 'v8::HandleScope'
    v8::HandleScope scope;
                    ^
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:882:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../src/heapdiff.cc:52:67: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handle<v8::Value> (const v8::internal::Arguments &)' (aka
      'v8::Local<v8::Value> (const v8::internal::Arguments &)')
    v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(New);
                                                                  ^~~
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:4511:16: note: passing argument to parameter 'isolate' here
      Isolate* isolate, FunctionCallback callback = 0,
               ^
../src/heapdiff.cc:54:29: error: no member named 'NewSymbol' in 'v8::String'
    t->SetClassName(String::NewSymbol("HeapDiff"));
                    ~~~~~~~~^
../src/heapdiff.cc:56:41: error: cannot initialize a parameter of type 'v8::FunctionCallback' (aka 'void (*)(const FunctionCallbackInfo<v8::Value> &)') with an lvalue of type
      'v8::Handle<v8::Value> (const v8::internal::Arguments &)' (aka 'v8::Local<v8::Value> (const v8::internal::Arguments &)'): type mismatch at 1st parameter
      ('const FunctionCallbackInfo<v8::Value> &' vs 'const v8::internal::Arguments &')
    NODE_SET_PROTOTYPE_METHOD(t, "end", End);
                                        ^~~
/Users/wangstabill/.node-gyp/7.2.1/include/node/node.h:269:60: note: passing argument to parameter 'callback' here
                                      v8::FunctionCallback callback) {
                                                           ^
../src/heapdiff.cc:58:29: error: no member named 'NewSymbol' in 'v8::String'
    target->Set(v8::String::NewSymbol( "HeapDiff"), t->GetFunction());
                ~~~~~~~~~~~~^
../src/heapdiff.cc:62:32: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
heapdiff::HeapDiff::New (const v8::Arguments& args)
                               ^~~~~~~~~~~~~
                               v8::internal::Arguments
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:148:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/heapdiff.cc:67:14: error: member access into incomplete type 'const v8::internal::Arguments'
    if (!args.IsConstructCall()) {
             ^
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:148:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
../src/heapdiff.cc:70:25: error: no member named 'New' in 'v8::String'
                String::New("Use the new operator to create instances of this object.")));
                ~~~~~~~~^
../src/heapdiff.cc:73:21: error: calling a protected constructor of class 'v8::HandleScope'
    v8::HandleScope scope;
                    ^
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:882:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../src/heapdiff.cc:77:11: error: no member named 'Wrap' in 'heapdiff::HeapDiff'
    self->Wrap(args.This());
    ~~~~  ^
../src/heapdiff.cc:77:20: error: member access into incomplete type 'const v8::internal::Arguments'
    self->Wrap(args.This());
                   ^
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:148:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
../src/heapdiff.cc:82:38: error: no member named 'TakeSnapshot' in 'v8::HeapProfiler'
    self->before = v8::HeapProfiler::TakeSnapshot(v8::String::New(""));
                   ~~~~~~~~~~~~~~~~~~^
../src/heapdiff.cc:82:63: error: no member named 'New' in 'v8::String'
    self->before = v8::HeapProfiler::TakeSnapshot(v8::String::New(""));
                                                  ~~~~~~~~~~~~^
../src/heapdiff.cc:85:16: error: member access into incomplete type 'const v8::internal::Arguments'
    return args.This();
               ^
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:148:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
../src/heapdiff.cc:97:21: error: calling a protected constructor of class 'v8::HandleScope'
    v8::HandleScope scope;
                    ^
/Users/wangstabill/.node-gyp/7.2.1/include/node/v8.h:882:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

looks like v8's internals changed again.

Leaks detection doesn't work?

The "leak" event is not emitted even if 5 positive "usage_trend" in the stats object after the GC was found. In the case that this is not an error, when the the "leak" event should be emitted?

Rename this repository to `memwatch-next`?

That would match the name of the npm package, which would reduce some confusion.

I think GitHub will redirect any links still using the old name to the new name. So no worries there.

And you can still be listed as a fork of deepak1556/node-memwatch.

HeapDiff error on Node 6.9.4

/usr/local/Cellar/node@6/6.9.4/bin/node[68513]: ../src/async-wrap.cc:99:v8::RetainedObjectInfo *node::WrapperInfo(uint16_t, Local<v8::Value>): Assertion `(nullptr) != (wrap)' failed.
 1: node::Abort() [/usr/local/bin/node]
 2: node::RunMicrotasks(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
 3: node::AsyncWrap* node::Unwrap<node::AsyncWrap>(v8::Local<v8::Object>) [/usr/local/bin/node]
 4: v8::internal::NativeObjectsExplorer::VisitSubtreeWrapper(v8::internal::Object**, unsigned short) [/usr/local/bin/node]
 5: v8::internal::GlobalHandles::IterateAllRootsWithClassIds(v8::internal::ObjectVisitor*) [/usr/local/bin/node]
 6: v8::internal::NativeObjectsExplorer::FillRetainedObjects() [/usr/local/bin/node]
 7: v8::internal::NativeObjectsExplorer::IterateAndExtractReferences(v8::internal::SnapshotFiller*) [/usr/local/bin/node]
 8: v8::internal::HeapSnapshotGenerator::FillReferences() [/usr/local/bin/node]
 9: v8::internal::HeapSnapshotGenerator::GenerateSnapshot() [/usr/local/bin/node]
10: v8::internal::HeapProfiler::TakeSnapshot(v8::ActivityControl*, v8::HeapProfiler::ObjectNameResolver*) [/usr/local/bin/node]
11: heapdiff::HeapDiff::New(Nan::FunctionCallbackInfo<v8::Value> const&) [/node_modules/memwatch-ng/build/Release/memwatch.node]
12: Nan::imp::FunctionCallbackWrapper(v8::FunctionCallbackInfo<v8::Value> const&) [/node_modules/memwatch-ng/build/Release/memwatch.node]
13: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [/usr/local/bin/node]
14: v8::internal::Builtin_Impl_HandleApiCallConstruct(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>, v8::internal::Isolate*) [/usr/local/bin/node]
15: v8::internal::Builtin_HandleApiCallConstruct(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
16: 0x17da807092a7
17: 0x17da8073b6ba
18: 0x17da8162ed92
19: 0x17da80bd71ca
20: 0x17da813f5daa
21: 0x17da80709895
22: 0x17da813f5bf2
Abort trap: 6

node-gyp rebuild fails on macOS 10.10.5

fails with
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is on mac OS 10.10.5 and xcode 6.4 with up to date command line tools.
node-gyp -v = 3.2.1

Strange thing is this works on another mac using node-gyp version 1.x

No dump generated on Node 6.9.1 + BeanStalk

Hi,

When we are seeing memory utilization graph, we are getting increasing trend over time. But, there is no heap dump generated. Below is what we have in our app.js:-
const memwatch = require('memwatch-next'); memwatch.on('leak', (info) => { debug('Memory leak detected : ', info); heapdump.writeSnapshot((err, filename) => { debug('dump written to', filename); }); });
I am not able to connect these two things together. Any opinion or help...

Regards,
Sanjeev

Cannot install on node 10.0.0

../src/init.cc:20:9: error: ‘AddGCEpilogueCallback’ is not a member of ‘v8::V8’
         v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
         ^
memwatch.target.mk:98: recipe for target 'Release/obj.target/memwatch/src/init.o' failed
make: *** [Release/obj.target/memwatch/src/init.o] Error 1
make: Leaving directory './node_modules/memwatch-next/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Linux 4.13.16-041316-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

Doesn't seem to like v8 version 6.6

can't able to compile on node v5.8.0

[email protected] install /home/ubuntu/stage/app/node_modules/memwatch-next
node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/opt/node/lib/node_modules/npm/node_modules/which/which.js:63:19)
gyp ERR! stack at E (/opt/node/lib/node_modules/npm/node_modules/which/which.js:72:29)
gyp ERR! stack at /opt/node/lib/node_modules/npm/node_modules/which/which.js:81:16
gyp ERR! stack at /opt/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /opt/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Linux 3.13.0-74-generic
gyp ERR! command "/opt/node/bin/node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/stage/app/node_modules/memwatch-next
gyp ERR! node -v v5.8.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 3.13.0-74-generic
npm ERR! argv "/opt/node/bin/node" "/usr/local/bin/npm" "install" "memwatch-next" "--save"
npm ERR! node v5.8.0
npm ERR! npm v3.7.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the memwatch-next package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs memwatch-next
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls memwatch-next
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/stage/carpool2/npm-debug.log

spurious message on start

I seem to get this whenever any of my apps with node-memwatch initially start:

possible memory leak: { growth: 108866328,
  reason:
   'heap growth over 5 consecutive GCs (0s) - -2147483648 bytes/hr' }

Failed to map segment from shared object: Operation not permitted

Hi,

We're running memwatch in a few places, this problem has only come up on once server (Ubuntu 14.04 LTS), the full error when running our app is...

Error: /home/ubuntu/src/app/node_modules/memwatch-next/build/Release/memwatch.node: failed to map segment from shared object: Operation not permitted

Searching around this seems to crop up mostly when /tmp is noexec but I do not think this is the case due to other systems running this fine. Only difference here is we have a partition mounted with all the source code on.

Any ideas?

Building on 0.10 and 0.12

Hi,
I'm trying to use node-memwatch next in the node-serialport release and I'm having trouble installing it on travis ci with node 0.10 and node 0.12. Your engines state you support 0.8 and up, and this is only failing on linux (not windows or osx) so I figure we're doing something weird.

The error from our CI (you can see the affected builds on travisci)

make: Entering directory `/home/travis/build/voodootikigod/node-serialport/node_modules/memwatch-next/build'
  CXX(target) Release/obj.target/memwatch/src/heapdiff.o
- ../src/heapdiff.hh:11:0,
                 from ../src/heapdiff.cc:12:
../../nan/nan.h:184:61: fatal error: nan_maybe_pre_43_inl.h: No such file or directory
 # include "nan_maybe_pre_43_inl.h"  // NOLINT(build/include)
                                                             ^
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [Release/obj.target/memwatch/src/heapdiff.o] Error 1
make: Leaving directory `/home/travis/build/voodootikigod/node-serialport/node_modules/memwatch-next/build'

The branch where I'm trying to introduce it is serialport/node-serialport#720

Can you help point me in the right direction?

Thanks!

Error on node version 6.3.0

Error: Module version mismatch. Expected 48, got 14.
at Error (native)
at Object.Module._extensions..node (module.js:568:18)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)

Tried npm uninstall, rebuild and install again but its not working

Install failure on osx Mojave

npm i node-memwath fails on a mac. Also see https://stackoverflow.com/questions/54236951/node-10-node-gyp-rebuild-error-during-npm-install.

gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/usr/local/Cellar/node/11.2.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/reh/src/fix-client-server/node_modules/memwatch-next
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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!     /Users/reh/.npm/_logs/2019-01-18T22_32_21_058Z-debug.log
(reverse-i-search)`no': npm install -g node-gyp```

Cannot install on node version 12.13.1

Am trying to install node-memwatch for my app & node version 12.13.1
However, getting an error regd-

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/vn0n2oy/.nvm/versions/node/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/.nvm/versions/node/v12.13.1/bin/node" "/Users/.nvm/versions/node/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok

Any advise is helpful. Also, If there is any other npm module apart from this one which is widely used for memory leaks, please share the same.
Thanks for looking.

Heap usage: `int` and `time_t` are used instead of `size_t` by mistake

I get the following reason in a leak event.

heap growth over 5 consecutive GCs (56s) - -2147483648 bytes/hr

With the included patch, it looks better.

heap growth over 5 consecutive GCs (1m 4s) - 2430.35 mb/hr

This is about a minute after the application starts. The growth was 45305024 bytes, so that's the reason for the high growth rate that is reported.

Memory leaks issue

Hello!
I'm having some memory leaks problems.

This is my code:

const AnyProxy = require('anyproxy');

const options = {
    port: 8001,
    rule: {
        * beforeDealHttpsRequest(requestDetail) { /* ... */
            return true;
        },
    },
    webInterface: {
        enable: true,
        webPort: 8002
    },
    throttle: 10000,
    forceProxyHttps: true,
    wsIntercept: false,
    silent: false
};

const proxyServer = new AnyProxy.ProxyServer(options);

proxyServer.on('ready', () => {
    console.log('ready');
});

proxyServer.on('error', (e) => {
    console.log('error ocurred', e);
});

proxyServer.start();

proxyServer.close();

When i start the server, my memory consumption is about 30MB.

When i make a request behind the proxy like this:
curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@/file" -k -v --insecure --proxy-insecure --proxy http://localhost:8001 "https://website.com"

After request finishes, my memory increases in the same size of the file that i've sent in the request. After tests, the problem seems to happen only in POST requests. GET is fine.

Inspecting the memory dump difference on Chrome's inspection, i see an variable (string) called reqBody[0] with all body request stored on memory.

Anyone can help how to fix this, please? Facing this issue on production server :/
Thanks for looking!

Is the project still maintained?

Ciao @marcominetti! Thanks for your great work.

Is the project still maintained? If not, maybe some other people are willing to collaborate? I saw @srowatt made interesting progress.

(Specifically I'm seeing a crash on 6.9.4 when using HeapDiff, but posting this meta-issue first as I see other issues haven't been responded to. Thank you.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.