Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Editor crash when loading large images

Open TrueDoctor opened this issue 1 year ago • 2 comments

When Trying to open a large image in the editor, it crashes after some while. This is likely caused by our animation loop not playing nice with such a long-running task on the main thread

TrueDoctor avatar Aug 05 '24 08:08 TrueDoctor

image After fixing the mutex errors, this seems to be related to the image serialization.

TrueDoctor avatar Aug 05 '24 09:08 TrueDoctor

This might actually be a memory issue as the in memory representation takes 384mb which is quite substantial

TrueDoctor avatar Aug 05 '24 09:08 TrueDoctor

The crash shown is from the autosaving (see all the serde in the call stack). This will likely be solved as part of #1604.

0HyperCube avatar Nov 10 '24 22:11 0HyperCube

See also discussion in #1231 which is a duplicate of this.

Keavon avatar Apr 11 '25 22:04 Keavon