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

RSS increases but heapTotal/heapUsed does not. #23

Closed
fchristle opened this issue Sep 9, 2020 · 2 comments
Closed

RSS increases but heapTotal/heapUsed does not. #23

fchristle opened this issue Sep 9, 2020 · 2 comments

Comments

@fchristle
Copy link

On taking a heap snapshot using the library, it seems like RSS increases and never comes back down. But heapTotal/heapUsed does not. Is there a native memory leak in the library?

@hyj1991
Copy link
Owner

hyj1991 commented Sep 10, 2020

https://github.com/hyj1991/v8-profiler-next/blob/master/src/heap_snapshot.cc#L90

Actually it just calls the serialization function provided by v8.

@hyj1991 hyj1991 closed this as completed Sep 19, 2020
@curlyblueeagle
Copy link

@hyj1991 are you saying that the serialization is cause for RSS increase?

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

3 participants