Memory leak?
#8166
Replies: 1 comment 1 reply
-
Can you reproduce the issue with Pillow directly rather than using imageio? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I suspect a memory leak in the following code. Reproducing it will take a bit of effort to decouple the code below from a bigger library, so before I try to reproduce, is the code considered a good practice or is there a better different way to generate a GIF from a set of PNGs?
radar_layers
contains a set of about ~20 PNG images.The snippet below comes from https://github.com/gwww/env_canada/blob/new-radar/env_canada/ec_radar.py#L352-L363. I'm investigating this issue: home-assistant/core#109622
From the larger piece of code I've narrowed it down to the lines referenced as the rest of the code is just reading cached image bytes after the first run and
create_gif
is close to the only thing left.I have read a number of issues in this repo (both open and closed) searching on "memory leak". Nothing I saw gave me any hints, but I did not read them all.
Beta Was this translation helpful? Give feedback.
All reactions