Skip to content

Add metric for HeapTotal and Resident Set size #147

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

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

timneutkens
Copy link
Contributor

@timneutkens timneutkens commented Jul 13, 2023

Hey, hope you're doing well, I'm back with a follow-up to #63. While investigating reports of memory leaks in Next.js we found that this time it wasn't related to the heapUsed but instead rss increasing and that couldn't be observed with this extension. So I came to the realization that all memory metrics should be reported as the data is there already and then you can opt-in/out of which one you want to observe.

Screenshot of the change:

CleanShot 2023-07-13 at 21 10 35@2x

@timneutkens
Copy link
Contributor Author

@microsoft-github-policy-service agree

Copy link
Member

@connor4312 connor4312 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good to me, thanks!

@connor4312 connor4312 enabled auto-merge (squash) July 13, 2023 14:38
@connor4312 connor4312 merged commit ea58965 into microsoft:main Jul 13, 2023
@timneutkens timneutkens deleted the add/rss-and-heap-total branch July 14, 2023 07:20
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

Successfully merging this pull request may close these issues.

3 participants