On Sunday, October 9, 2016 at 7:56:11 AM UTC+2, Russ Frank wrote:
>
> I have a heap dump (obtained with bnoordhuis/node-heapdump) of a 
> production node process that had a large heap. I found a bunch of business 
> objects retained by "(Global Handles)". I'm wondering how a JS object can 
> end up being retained in this way. Would it need to go through a native 
> extension which is accidentally creating such a global handle and thereby 
> retaining the object?
>
>
I don't think it needs a native extension there - a simple variable leak 
can do that. Some code analysis tools can help you check your javascript 
parts for such issues, not sure about the extension. Is that something 
occurring regularly? 

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/34fe1ad6-d852-4335-8af7-49177bdc02c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to