mayocream/koharu

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

Open

#693 opened on May 12, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (257 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (4,568 stars)
PR merge metrics
 (PR metrics pending)

Description

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