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 freezes for minutes if Active Allocations is clicked for large amounts of allocations #916

Open
simonvanbernem opened this issue Oct 25, 2024 · 0 comments

Comments

@simonvanbernem
Copy link
Contributor

I wanted to debug some memory leaks in an application and clicked on the "Active Allocations" header in the Memory window. This made Tracy freeze for several minutes, after which I lost patience and manually killed it (resulting in the loss of the profile).

I suspect that tracy froze because it tried to show a list of 35 million elements, which didn't go so well. In any case, I think I shouldn't be doomed to loose the profile if I click the wrong button, regardless of the number of active allocations. So if this is the reason, I think the list should be automatically clamped to show a manageable number of allocations instead so that Tracy doesn't freeze. Realistically, I don't need to know about all the 35 million allocations anyway, I just need a starting point to fix the leaks, so truncating here would be fine imo.

I am on version 0.10.0, but since I didn't see anything in the changelog regarding this, I believe this might still be an issue in the current version.

image

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

1 participant