-
Notifications
You must be signed in to change notification settings - Fork 275
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
Memory usage skyrockets when doing anything in Pinta #939
Comments
Can Confirm on Fedora 40. |
Confirmed on macOS as well. |
That might be a somewhat separate issue - the canvas renderer isn't as efficient when zooming in after the port to GTK4 since we can't do partial redraws of only the visible area. |
Just recording notes from my investigation:
This particular Cairo.Context likely has a big effect on memory usage since it can be the last reference to a temporary Cairo surface from the GTK widget (https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gsk/gskrendernodeimpl.c#L3495) We can make this fix in Pinta once there's a new gir.core release with the fixes for gircore/gir.core#1109 |
To Reproduce
It's also possible to cause the memory usage to go up by just zooming in and out of the canvas, selecting random places in the canvas, etc. But drawing usually drives the RAM usage up the most.
Additional Info
pinta.mp4
Commit that introduced this regression: #685
The text was updated successfully, but these errors were encountered: