• Login
Community
  • Login

Slow to reload in larger files

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 413 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Kelly Hoke
    last edited by Mar 16, 2020, 2:49 PM

    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.

    1. These files are added to regularly - they are log files.
    2. I am using my own defined language for highlighting some text.
    3. The files are never over 10 MB.
    4. No plugins installed, except the JSON viewer.
    5. I have auto-reload to updated the document. However, I have the same slowness even if that is turned off.
    6. Back up if off.
    7. Auto completion is off.
    8. Work wrap is off.
    9. I am on the current version 7.8.4

    Thanks
    Kelly

    E 1 Reply Last reply Mar 16, 2020, 5:00 PM Reply Quote 0
    • E
      Ekopalypse @Kelly Hoke
      last edited by Mar 16, 2020, 5:00 PM

      @Kelly-Hoke

      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.

      1 Reply Last reply Reply Quote 2
      • K
        Kelly Hoke
        last edited by Mar 16, 2020, 8:43 PM

        Reverting back to Normal Text resolved the issue. Thank you for your quick response.

        E 1 Reply Last reply Mar 16, 2020, 8:51 PM Reply Quote 2
        • E
          Ekopalypse @Kelly Hoke
          last edited by Mar 16, 2020, 8:51 PM

          @Kelly-Hoke

          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?

          1 Reply Last reply Reply Quote 2
          4 out of 4
          • First post
            4/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors