There is a big memory leak when reading GIF animations.
The issue was identified and fixed in gdk-pixbuf two (2) years ago, but it was released in a version grater that the available in Ubuntu 20.04.
At first glance, the leak appears only when a static image is requested, but this function is used by pixbuf's upload functions and calls this function internally. So the leak happens every time a GIF is loaded.
Here is the commit with the fix releases in version 2.41:
There is a big memory leak when reading GIF animations.
The issue was identified and fixed in gdk-pixbuf two (2) years ago, but it was released in a version grater that the available in Ubuntu 20.04.
At first glance, the leak appears only when a static image is requested, but this function is used by pixbuf's upload functions and calls this function internally. So the leak happens every time a GIF is loaded.
Here is the commit with the fix releases in version 2.41:
https:/ /gitlab. gnome.org/ GNOME/gdk- pixbuf/ -/commit/ dd3aa9ed64a0a37 0c8150f98e849ff c6e73da827
A patch is attached to this message.