Skip to content
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

String memory leaks? (help me understand why the retainers on strings go up) #17246

Closed
jasonwilliams opened this issue Nov 22, 2017 · 1 comment

Comments

@jasonwilliams
Copy link

Version: v8.9.1
Platform: Linux hashweb 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I have an IRC bot who's memory usage goes up ever so slightly every few hours.
When taking snapshots and inspecting with dev tools the memory usage seems to be string objects, and they seem to be coming from the core.

I have a screenshot here:
screen shot 2017-11-22 at 13 10 19

Why are strings like "[object Int8Array]" being stored and remaining there, i've yet to find good docs on the Memory profiler, so not sure how to better debug this, but most of these tree's fall into the core.

Thanks

@cjihrig
Copy link
Contributor

cjihrig commented Nov 22, 2017

Can you ask general support questions at https://github.com/nodejs/help please. This issue tracker is for bug reports and feature requests to Node core.

they seem to be coming from the core.

I'm not sure what modules you're using, but just about everything will look like it's coming from core if you trace the references back far enough. In that image, Connection() might be a good place to start looking.

@cjihrig cjihrig closed this as completed Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants