GramEditor/gram
37
980
Fork
You've already forked gram
89

Unresponsiveness in large files editing #348

Open
opened 2026年06月23日 13:32:06 +02:00 by sylfn · 0 comments

Opening a large file (greater than a dozen of megabytes) hangs Gram for a bit (less than 5 seconds when computer is idle) without indication that a file is being opened.

Files with a lot of lines (e.g. yes aaaaaaaaaaaaaaaaaaaaa | head -10000000) are uneditable in real time. Entering text anywhere is very slow (about 10 seconds of lag), be it the very beginning, random spot in the center, or the very end, be it creating a new line or appending the existing one, regardless of these parameters.

system information

Gram: v2.1.2 (Gram)
Memory: 60.7 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 26.1.2

Installed from nixpkgs on NixOS 26.11pre1011622.a799d3e3886d (Zokor).

Opening a large file (greater than a dozen of megabytes) hangs Gram for a bit (less than 5 seconds when computer is idle) without indication that a file is being opened. Files with a lot of lines (e.g. `yes aaaaaaaaaaaaaaaaaaaaa | head -10000000`) are uneditable in real time. Entering text anywhere is very slow (about 10 seconds of lag), be it the very beginning, random spot in the center, or the very end, be it creating a new line or appending the existing one, regardless of these parameters. ## system information Gram: v2.1.2 (Gram) Memory: 60.7 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 26.1.2 Installed from nixpkgs on NixOS 26.11pre1011622.a799d3e3886d (Zokor). <!-- Wiki: https://codeberg.org/GramEditor/gram/wiki/Feature-Requests Docs: https://gram-editor.com/docs/ Chat: https://slidge.im/gram/#/guest?join=gram@rooms.slidge.im This issue tracker is mainly for tracking and dealing with bugs. - If you want to make a feature request or have an idea for improvements, please create a page on the Wiki instead of opening an issue. - If you have a question about how the software works or how to configure it, check the wiki guides or the documentation, or join the chatroom and ask there first. If the question turns out to be a missing feature, create a feature request. If it's a bug, come back and create an issue. If your issue really is a bug that you've found: - Is it caused by hardware, for example missing support for your particular graphics device? If so, you are probably the person best suited to solve the problem since you are the one able to reproduce it. Start by trying to work out as much about the cause of the issue yourself, and include as much detail as you can in the issue. See the guide to debugging crashes in the documentation for more information on retrieving logs or using a debugger with Gram. - Is it a packaging problem, like missing builds for Windows, missing packages for your architecture or support needed for a particular Linux distribution? Just like in the previous case, you are probably the one most able to fix the problem yourself. There is a mirror of the repository on Github only so that we can run Github Actions on platforms that we don't have runners for on Codeberg. Contributions to improve the workflows for both Forgejo and Github are welcome. For any other issues, try to investigate the problem before creating an issue. This is a code editor, you as a user of this editor is presumably a coder. Don't let your preconceived notions about what you are capable of limit you in familiarising yourself with your tools. Everyone benefits if you become able to resolve the issues you encounter yourself. Thank you <3 / one grumpy toad with limited time on this earth -->
Sign in to join this conversation.
main
main
test/wgpu-on-mac
test-ci/failing-test-mac
test/failing-test-mac
test/build-on-22-04
test/wgpu-present-mode-mailbox
v2.1
test/altgr-fix-again
test/2.0.0-rc1
test/linux-build
test/objc2
v1.2.1
3.0.1
3.0.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
1.2.1
1.2.0
1.1.0
1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram#348
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?