mayocream/koharu

Crash during "Save as..." with large project history

Open

#693 geöffnet am 12. Mai 2026

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (257 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (4.568 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Problem: Spend quite some time changing every text box in a 50 page comic and fiddling with the segmentation mask. The folder grew to over 12 GB. While looking for a way to shrink it, I encountered that clicking "Save as..." will crash the application. I assume the memory runs out (tho I got 23 GB free RAM). Here the error message:

Cause: I think the root problem is actually the history. It seems to save every change of the segmentation mask as a separate full picture that is stored forever.

Suggestion: Add some option to clear the history or limit the history to X actions.

Contributor Guide