mikrosk / z-tools

Zorro's Tools for Atari/GEM
0 stars 1 forks source link

Sudden termination trying to load large animations. #19

Open mikrosk opened 8 years ago

mikrosk commented 8 years ago

Trying to load a single file with many frames can cause this, or having loaded several files, then 1 more. Not sure if it's isolted to just animations. Dumps "Out of memor" in the console and exits. Is there no way to handle this situation more gracefully?

Reported by: lpgb

mikrosk commented 8 years ago

This looks like a memory leak. If you could isolate it even more (like whether it's happening to a single file viewers, too), that would be great. But maybe it's not necessary. As usual, please attach a test file + codec if necessary. :)

Original comment by: mikrosk

mikrosk commented 8 years ago

This seems to be related to free memory at the moment you attempt to load an animation with enough frames that will exceed the free ram. I can later load the same file, if I close any open animaitons. It not trigggered by any specfic file or codec. I can attach a file, but depending on your free ram it may or may not work.

Original comment by: lpgb

mikrosk commented 5 months ago

no_ram.zip