kra-mo / sly

Friendly image editor
https://sly.kramo.page
GNU General Public License v3.0
112 stars 2 forks source link

Investigate memory leaks #2

Closed kra-mo closed 1 month ago

kra-mo commented 1 month ago

Notes:

Most of it seems to just come down to using the image library. Thankfully, from a code perspective, I'm not very reliant on it. Most of the library's usage comes down to the SlyImage abstraction, which is relatively small.

Unfortunately, there aren't any more libraries available that provide what I need. This means that I will probably have to write my own image processor, something I would not be looking forward to :/

kra-mo commented 1 month ago

The memory footprint anyway, it looks like the leaks specifically came down to not closing SlyImage's StreamController.