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

Plotting memory usage of allocations from given backtrace #46

Closed
wants to merge 2 commits into from
Closed

Plotting memory usage of allocations from given backtrace #46

wants to merge 2 commits into from

Conversation

stoperro
Copy link

@stoperro stoperro commented Jan 6, 2021

Adds plots to allocations so that it's possible to tell if given backtrace is the reason for potentially visible memory leak in overview page. Improves greatly feedback regarding if backtrace is a leak or not, as one sees the trend of allocations from this backtrace - are they increasing? or maybe it was just one spike at the end of trace?

The plot will be visible when "Group by backtraces" is selected.

PR code is a little wonky though... but it seems to work well.

@stoperro
Copy link
Author

stoperro commented Jan 7, 2021

With PR it looks like this:
pr_memory_profiler_backtraceplot

@koute
Copy link
Owner

koute commented Aug 6, 2021

I've just committed functionality similar to this on master; didn't directly use your code, but thanks for the inspiration!

@koute koute closed this Aug 6, 2021
@stoperro
Copy link
Author

stoperro commented Aug 6, 2021

Just tested it, works great :)

I'm actually happy you did the code as whatever I did must have been painful to watch for someone actually knowing Rust :P

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.

None yet

2 participants