Comments (7)
There doesn't appear to be any memory leaks, but there is an odd behaviour in the RSS part which usually comes from new Buffer
allocations. I have no idea what it is about, trace
doesn't change the behaviour of node in any of those areas.
from trace.
Side question: which tool are you using to analyse memory usage in Node?
from trace.
I just wrote something simple: 7e5496a
maybe I will make a real module some day :D
from trace.
7b91e4a should fix this. If you try it out (please do) be aware that you will need at least node version 5.2.0 for now. However I have been promised that the necessary node features will land soon in 4.x.
from trace.
I don't get why this is an issue. I suspect it might be a v8 bug in the gc, 7b91e4a basically just moved the stack object into an id-map and does the memory management itself. For future reference I also tried using a WeekMap, so I din't have to use the gc destroy event, there was an improvement but not enough.
Map using uid and destructor event
from trace.
Thanks for creating the issue. I really appreciate the time you use on trace
and stack-chain
👍
from trace.
Glad to help.
Thanks for your work :)
from trace.
Related Issues (20)
- TypeError: Cannot read property 'apply' of undefined HOT 4
- does it work in frontend when used with webpack/browserify HOT 1
- Source map support HOT 2
- I get this error when running node 4.4.5 HOT 2
- current uid is a stack HOT 1
- Compatibility with node ^7.0 HOT 2
- The dreaded "throwing after await" HOT 19
- Memory leak of sorts HOT 5
- Stack Trace makes no sense HOT 3
- Usage with electron HOT 1
- Conflict of stack-trace version with the one from clarify HOT 1
- Add GitHub releases HOT 2
- Add an `install` method HOT 1
- Treating error.stack as immutable? HOT 2
- Memory leak HOT 4
- `executionScopeDepth` does not make sense if concurrent async operations HOT 1
- Error: Conflicting version of stack-chain found HOT 4
- Control stack trace reset
- Error security context
- Swallowing errors with Axios HOT 3
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 trace.