Menu

#110 Out Of Memory Crash Exporting File Series

v3.6
closed-fixed
None
Application
2
2025-11-14
2024-04-15
Anonymous
No

I am attempting to create a movie of my solar eclipse pictures and use Lynkeos to (successfully) align them all. Unfortunately, when I go to export the images as a file sequence, the application runs out of memory and crashes (it will actually crash MacOS if I let it). I notice that the TIFF writer has a "retain" attribute and I'm wondering if that's causing it to keep every TIFF image in memory (I'm not an Objective C expert). I was going to attempt a fix, but I don't think I know enough about how the classes are instantiated to do that.

Discussion

  • Jean-Etienne LAMIAUD

    • status: open --> accepted
    • assigned_to: Jean-Etienne LAMIAUD
    • Priority: 5 --> 2
     
  • Jean-Etienne LAMIAUD

    This is not really a memory leak, because the memory is freed at the very end of the file sequence export.
    But during the export, memory usage indeed grow continuously; and if it grows to a point were it consumes all macOS memory, the difference with a real memory leak is purely theoretical.
    Autoreleased objects need to be released at each loop iteration, because they are no longer needed for the next one.

     
  • Jean-Etienne LAMIAUD

    And the SER exporter is plagued by the same default.

    Fixed at commit [148d84]

     

    Last edit: Jean-Etienne LAMIAUD 2025-06-10
  • Jean-Etienne LAMIAUD

    • status: accepted --> fixed
     
  • Jean-Etienne LAMIAUD

    • status: fixed --> closed-fixed
     
  • Jean-Etienne LAMIAUD

    Fixed in V3.9 release

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB