
Danik
Adobe Air has a limit of around 1GB on the total memory that can be used by the program, and sadly I don't think there is any way around it. Very large canvases and many layers can make it go above that, and saving takes quite a bit of memory too when compressing the image data.
I could add a way to save documents uncompressed to avoid the spike when compressing, but that would just help when saving. Maybe when running out of memory when saving a dialog box could ask if the user wants to save uncompressed instead, because I can imagine it's very frustrating not being able to save.
I see you have rather many layers, so one thing you could do would be to try to keep the number down as much as possible since the memory used by the canvas is multiplied by that number.
As you say optionally handling animations differently would probably help, for example a second mode for animations that keeps only the necessary frame data per animation frame and layer, but that would be a lot of work and make the program more complex. I will think about it and see if I can find another solution.
Sorry about the trouble this causes.
I could add a way to save documents uncompressed to avoid the spike when compressing, but that would just help when saving. Maybe when running out of memory when saving a dialog box could ask if the user wants to save uncompressed instead, because I can imagine it's very frustrating not being able to save.
I see you have rather many layers, so one thing you could do would be to try to keep the number down as much as possible since the memory used by the canvas is multiplied by that number.
As you say optionally handling animations differently would probably help, for example a second mode for animations that keeps only the necessary frame data per animation frame and layer, but that would be a lot of work and make the program more complex. I will think about it and see if I can find another solution.
Sorry about the trouble this causes.




