Comments (3)
It looks to me like that code is leaky because the 'leak' variable is added to every second. It'll only ever get bigger and won't get GC'ed so will look like a leak.
from node-memwatch.
Ok, so it is reported as leaking even it might be on purpose. I mean, it could make sense to have a long running process (webserver) and store every request in an array for a while.
I thought that it would detect the circular references.
from node-memwatch.
I think the example was intended to show that memwatch itself wasn't leaking by creating a simple intentional leak which is detected. Not sure if that's watertight but I'm sure they know better than me ... By the way - I'm just an interested third party. :)
Based on #7 I'd say it's not detecting circular references.
from node-memwatch.
Related Issues (20)
- can't install HOT 11
- OSX install fails HOT 14
- Support Node.js 4.x HOT 11
- memwatch-next doesn't build on node v5 HOT 8
- Incorrect License URL
- [discussion] [feature request] [help needed] Logging memory objects
- Module did not self register HOT 4
- Update release information in github HOT 1
- Cannot find module './build/Release/memwatch' HOT 1
- Can I use memwatch browser side?
- [SOLVED] npm install error HOT 16
- Install error HOT 5
- ubuntu install error HOT 4
- installing Memwatch HOT 6
- Where should I 'require' memwatch ?
- Is this dead? HOT 2
- Cannot install memwatch on MacOS HOT 6
- Can't install on Win 10 with newer version of Python
- Please mark as deprecated HOT 3
- win64/node 14.15.3 can not install as deprecated c code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-memwatch.