Git Product home page Git Product logo

Comments (4)

Genysys avatar Genysys commented on July 29, 2024 10

Agreed. use this instead: https://github.com/airbnb/node-memwatch

from node-memwatch.

cool-firer avatar cool-firer commented on July 29, 2024

@Genysys looks like there is no leak monitor event

from node-memwatch.

Venryx avatar Venryx commented on July 29, 2024

@Genysys looks like there is no leak monitor event

Yes, airbnb's fork removed that part of the code. There explanation was given here.

And here is the code that was removed that was doing the leak detection: https://github.com/airbnb/node-memwatch/pull/1/files#diff-16ab447da591c718a41d43cb70d0f471069f1db23629b3751d8d7af891b20c13L108

It should be possible to re-implement that behavior in userland JS code. If someone does this transformation (it doesn't look too hard), please post the JS code for it here. :)

from node-memwatch.

Venryx avatar Venryx commented on July 29, 2024

Hmm, the airbnb fork for me seems to be failing to build on Node v14.17.1 -- at least on Windows.

Have others gotten it to work on Node v14+, on either Linux or Windows?

EDIT: While it failed to install on Windows, that's fine since I don't need the module on my host computer, only in the Docker container (which runs Linux). When installing+running in Linux, the module worked fine, with FROM node:14-alpine as the base image.

from node-memwatch.

Related Issues (20)

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.