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

Report used memory/max used memory #1826

Open
ueman opened this issue Jan 18, 2024 · 1 comment
Open

Report used memory/max used memory #1826

ueman opened this issue Jan 18, 2024 · 1 comment

Comments

@ueman
Copy link
Collaborator

ueman commented Jan 18, 2024

Problem Statement

In order to better understand the memory usage, Sentry should report the used memory of an application.

Solution Brainstorm

Dart offers to query some memory information:

These APIs make it available for Dart and Flutter.

Are you willing to submit a PR?

Yes

One problem with this is, that this is a pretty new API, meaning using it would break for currently supported lower versions.

@buenaflor
Copy link
Contributor

buenaflor commented Jan 30, 2024

From what I can see I assume currentRss and maxRss are stable enough to use

Also wondering if adding this still makes sense because of profiling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants