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

Profiler: Show "truly-in-use" memory usage line #1739

Open
manopapad opened this issue Aug 5, 2024 · 0 comments
Open

Profiler: Show "truly-in-use" memory usage line #1739

manopapad opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels

Comments

@manopapad
Copy link
Contributor

This would handle a common pitfall for users when looking at profiles: Users see the memory usage only go up, and assume that the program is leaking memory. In reality the instances that are accumulating are probably invalid, and would be removed by Legion if it actually got squeezed for memory.

IMHO what the user truly wants to know is how much "breathing room" they have on the memory at any given time.

We would need the profiler to be told when instances become valid and invalid, so it can draw a line of the "truly-in-use" memory usage, which only includes valid instances (possibly in addition to the "technically correct" utilization that we show today, where invalid instances are also included).

Assigning @lightsighter to give an estimate on the work, maybe make sub-tasks to assign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants