Skip to content

[Linux] Opening large documents is very slow in v0.20.0-rc.1 #5115

Closed as duplicate

Description

Description

  • Version: v0.20.0-rc.1
  • OS: Linux
  • Issue Description:
    Opening and rendering large Markdown documents is extremely slow.

Steps to Reproduce

  • Steps to Reproduce:
    1. Open MarkText v0.20.0-rc.1 on Linux.
    2. Try to open a large .md file.
    3. Observe the loading and rendering process of the editor.

Expected Behavior

  • Expected Behavior:
    Large documents should open and render faster, with smooth editing and scrolling.

Actual Behavior

  • Actual Behavior:
    The loading process takes a very long time, with noticeable lag or high memory usage during the process.
  • Additional Context:
    According to the project's release notes, v0.20.0 rewrites the editor engine to improve large document performance. However, when testing this RC version on Linux, I still encountered significant performance issues. I hope this can be identified and fixed.

Screenshots / Logs

No response

Operating System

Linux (AppImage)

MarkText Version

v0.20.0-rc.1

OS Version

Deepin V25

Reproducibility

  • I can reliably reproduce this issue

Activity

  1. dingyongjiu commented on Aug 25, 2026

    @dingyongjiu

    The same issue exists in Windows 11.

  2. Jocs commented on Sep 18, 2026

    @Jocs
    Member

    Thanks for the report.

    Large documents still opening slowly is already tracked in #3518 (hang/crash when opening large files) and #3640 (large-file performance). 0.20's new editor engine (@muyajs/core) makes editing considerably cheaper, but the initial parse and render still happen in one pass with no virtualization, so a big file keeps the window busy while it loads — on Linux as on the other platforms. A 0.19.1 report of the same problem (#4887) is being folded into the same thread.

    Closing as a duplicate of #3518. To make it actionable, please attach the file there (or describe it: size, number of paragraphs, tables, images, code blocks) together with how long it takes to open.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions