-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smalloc cascading issue? #1283
Comments
Just adding missing info from the original post, this heap was created in windows 8.1 64bit, iojs v1.6.1 and I've updated to v1.6.2 but still got similar results. |
@chrisdickinson Is this a streams issue? |
Interesting. I'll take a look at the heapdump in a second – a ton of queued WriteReqs indicate a situation where lots small |
@chrisdickinson thanks I've just tested with a current master build and still getting similar results. |
ping @chrisdickinson? |
Note: smalloc will be removed in io.js 4.0 / v8 4.2: #1451 |
Though regardless, this will probably still be an issue even with the new implementation. You're allocations are the size of the default |
This is likely due to something writing to a stream that is unable to keep up with the amount of incoming data, or is otherwise paused or corked. The Closing this for now — streams appear to be working "as intended," though that term applies a bit loosely here! |
thanks for feedback all. When I get time I will try and see if this is still occurring with latest iojs version |
We been investigating large memory issues for the Docpad Project and whilst looking at a generated heap snapshot cia v8-profiler I've seen that smalloc seems to do a huge cascade in the graph starting at a node 24 in distance and cascading all the way down to 58000 in distance. (see screenshot below)
The heap snapshot is here for download
I'm not an expert in analysing heap snapshots but I don't recall seeing large distances like this in V8 heap snapshots.
The text was updated successfully, but these errors were encountered: