I'm not sure you ran into something I am reporting. Looks like you are missing my comments or something. Here's a summary:
1. When script finishes correctly, memory frees up completely.
2. There is no problem with my image.
3. Looks like memory leaks only when script is killed while thumbnailImage method is doing something.
4. Example in comment #12 is the best way to test it with real image in comment #16.
I'm not sure you ran into something I am reporting. Looks like you are missing my comments or something. Here's a summary:
1. When script finishes correctly, memory frees up completely.
2. There is no problem with my image.
3. Looks like memory leaks only when script is killed while thumbnailImage method is doing something.
4. Example in comment #12 is the best way to test it with real image in comment #16.