-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open some org files and the memory usage will rise to 100% until it is stuck #527
Comments
Just wanted to +1 this. |
@hardenedapple can you provide some metadata regarding your files? How many lines? Do you have any source blocks (BEGIN_SRC/END_SRC)? Does your memory increases only while the Neovim is opened, or it happens even after you closed Neovim? |
Sure -- the files are about 40k lines long. |
I'll investigate, but those are fairly big files. |
Thanks! I appreciate you looking into it (especially since this can't be a super simple thing to track down and I know how difficult it is to find time to work on unpaid things). Just since your comment made me realise the size of the file is useful information I forgot to mention earlier: |
@hardenedapple can you pull latest master and see how it works now? I did some refactoring around memoization to clean up unused cache, so hopefully it should not take so much memory. Let me know. |
It's certainly helped a lot thanks! |
Awesome! Keep an eye on it and let me know if you get to a 100% memory usage. |
Also in your description you wrote that you use Neovim 0.8.2. We support 0.9+ versions, but it is suggested to switch to 0.10 since it performs much better in terms of tree-sitter parsing. |
Ah -- I think this was the OP of the issue (that I seem to have hijacked). I am using v0.10. |
Describe the bug
I try to use orgmode, but opening some org files will fill up my computer's memory until it dies
Steps to reproduce
Expected behavior
Open it without jamming
Emacs functionality
No response
Minimal init.lua
Used the provided minimal_init.lua (no my configuration). link
Screenshots and recordings
No response
OS / Distro
ArchLinux
Neovim version/commit
0.8.2
Additional context
No response
The text was updated successfully, but these errors were encountered: