memory leak on macOS
Hello,
I've had users reporting a massive memory leak in a development version of Inkscape for macOS and I have identified Cairo 1.17.6 to be the cause. To be exact: commit ebba42b1 introduces the leak as everything is still ok with its parent 9cfa5104.
The reproducibility in Inkscape is very easy: I only need to open it and keep switching between tools. For demonstrational purposes I'm doing it here very quickly and repeatedly (I'm pressing keys G
and T
to switch between gradient and text tool), notice the activity monitor on the bottom which shows memory consumption: