Slow to reload in larger files
-
I have text files that are very slow to reload from disk. They are text files, and once I hit about 10,000 lines of text, reloading is very, very slow. I have looked for answers, and no suggestions are speeding the reloads up. It is becoming unusable.
- These files are added to regularly - they are log files.
- I am using my own defined language for highlighting some text.
- The files are never over 10 MB.
- No plugins installed, except the JSON viewer.
- I have auto-reload to updated the document. However, I have the same slowness even if that is turned off.
- Back up if off.
- Auto completion is off.
- Work wrap is off.
- I am on the current version 7.8.4
Thanks
Kelly -
maybe make a simple test.
Assign the text lexer, which basically means no lexer at all, to the document
by selecting language->N->Normal Text and then try to reload
the file. Is it still slow?
If so, please post the your full debug-info from ? menu. -
Reverting back to Normal Text resolved the issue. Thank you for your quick response.
-
that would indicate that the lexer, which was active, isn’t capable of
lexing the document fast enough. Was this an udl or a standard lexer?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login