Community
    • Login

    Slow to reload in larger files

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 666 Views 1 Watching
    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.
    • Kelly HokeK Offline
      Kelly Hoke
      last edited by

      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

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Kelly Hoke
        last edited by

        @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
        • Kelly HokeK Offline
          Kelly Hoke
          last edited by

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

          EkopalypseE 1 Reply Last reply Reply Quote 2
          • EkopalypseE Offline
            Ekopalypse @Kelly Hoke
            last edited by

            @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

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors