Git Product home page Git Product logo

Comments (3)

robhawkes avatar robhawkes commented on July 4, 2024

After a restart the memory limit was hit again and I started noticing these in the Heroku logs:

2015-03-31T08:44:58.769283+00:00 app[web.1]: (node) warning: possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit.

Also:

2015-03-31T08:44:58.600713+00:00 app[web.1]: Tue Mar 31 2015 08:44:58 GMT+0000 (UTC) – online 30, total 355 (+126032ms)
2015-03-31T08:44:58.770581+00:00 app[web.1]: Trace
2015-03-31T08:44:58.770586+00:00 app[web.1]:     at Namespace.<anonymous> (/app/node/index.js:152:11)
2015-03-31T08:44:58.770588+00:00 app[web.1]:     at Namespace.emit (events.js:107:17)
2015-03-31T08:44:58.770584+00:00 app[web.1]:     at SlackData.addListener (events.js:179:15)
2015-03-31T08:44:58.770590+00:00 app[web.1]:     at Namespace.emit (/app/node_modules/socket.io/lib/namespace.js:205:10)
2015-03-31T08:44:58.770591+00:00 app[web.1]:     at /app/node_modules/socket.io/lib/namespace.js:172:14
2015-03-31T08:44:58.770593+00:00 app[web.1]:     at process._tickCallback (node.js:355:11)

from slackin.

robhawkes avatar robhawkes commented on July 4, 2024

I tried removing WebSockets but that doesn't fix the leak. It's happening regularly after an hour or so each restart.

from slackin.

matthewford avatar matthewford commented on July 4, 2024

I haven't tried this but this looks interesting: 18F@fdaa749

from slackin.

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.