Skip to content

Out of memory (editor crash) when loading large images with Vello #1895

Open

Description

@TrueDoctor

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

Activity

  1. TrueDoctor commented on Aug 5, 2024

    @TrueDoctor
    MemberAuthor

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

  2. TrueDoctor commented on Aug 5, 2024

    @TrueDoctor
    MemberAuthor

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

  3. 0HyperCube commented on Nov 10, 2024

    @0HyperCube
    Contributor

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

  4. Keavon commented on Apr 11, 2025

    @Keavon
    Member

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

  5. changed the title [-]Editor crash when loading large images[/-] [+]Out of memory (editor crash) when loading large images[/+] on Apr 11, 2025
  6. added
    ArchitectureInvolves architecture or engineering work or discussion
    WebInvolves web programming (TypeScript, Svelte, CSS)
    on Apr 11, 2025
  7. changed the title [-]Out of memory (editor crash) when loading large images[/-] [+]Out of memory (editor crash) when loading large images with Vello[/+] on Dec 22, 2025
  8. added
    CrashA panic which crashed the editor
    and removed
    WebInvolves web programming (TypeScript, Svelte, CSS)
    on Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArchitectureInvolves architecture or engineering work or discussionCrashA panic which crashed the editor

    Type

    Projects

    • Status
      Short-Term

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions