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

Large memory leak when "Performance Overlay" is shown #34

Open
panmarco83 opened this issue Nov 11, 2020 · 3 comments
Open

Large memory leak when "Performance Overlay" is shown #34

panmarco83 opened this issue Nov 11, 2020 · 3 comments

Comments

@panmarco83
Copy link
Contributor

panmarco83 commented Nov 11, 2020

As soon as the PO is visible (toggled with '\'), the system memory starts filling up

@Devlin1991
Copy link

Devlin1991 commented Nov 20, 2020

The two places I'd look first would be here:

else if (show_position_mode) {

else if (show_position_mode) {

Most memory profiling tools I've used previously let you snapshot memory in one frame, snapshot another frame, then compare them. The delta will show you the leak without much debugging required.

@panmarco83
Copy link
Contributor Author

Thank you!

@panmarco83
Copy link
Contributor Author

Ah, I have earlier done some testing on these sections and unfortunately deleted my changes, but I didn't find a definitive reason to what was causing the leak as far as I can remember.

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

2 participants