Community
    • Login

    reading large files

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 2.4k 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.
    • Murray SobolM
      Murray Sobol
      last edited by

      I am trying to read 11 files; their sizes vary from 7KB thru 2172 KB.

      Murray SobolM 1 Reply Last reply Reply Quote 0
      • Murray SobolM
        Murray Sobol @Murray Sobol
        last edited by

        @Murray-Sobol here is the FULL post:
        I am trying to read 11 files; their sizes vary from 7KB thru 2172 KB.
        the total size is 9384 KB.
        When I try to open all 11 of them Notepad++ hangs.
        My environment is: Windows 10 64-bit Intel i7 core 24 GB memory
        Is there a setting I need to adjust to read a high number of large files?
        Thanks
        Murray

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones
          last edited by

          2Mb and 11 files are neither large size nor large number of files. You’ve got something else going on.

          You have told us very little about the actual problem, so there’s not much we can do at this point except make wild guesses.

          Since I have no problem opening 11 2MB files, my initial assumption is that you’re doing something wrong, or have a strange situation. Since I am not on your computer, I cannot debug them directly. However, if you’re willing to do some back-and-forth, I and others on this forum may be able to help you. Below are some suggestions for things that will help us to help you.

          Most critically, please go to the ? menu, Debug Info... > copy debug info to clipboard and paste it into your reply, prefixed surrounded with

          ```z
          [paste here]
          ```
          

          which will render as

          [paste here]
          

          alternately, paste the info indented four spaces, which will render as

          [paste here]
          

          This will give us lots of relevant information about your installation of Notepad++, including version, whether it’s 32b or 64b, whether it’s a standard install or a “local configuration” / “portable install” (i.e., doesn’t use the %AppData% for storing settings). It will also tell us which plugins are installed (there are some plugins with stability issues).

          Other things that might be relevant:

          • are you running in Administrator Mode (elevated permissions) or as a normal user
          • are your files located on a local drive in your PC, or on a network drive?
          • Are all 11 files in the same directory, or spread across directories?
          • Do you have huge amounts of your 24GB memory already used by some memory-hog application, or lots of free space?
          • Are the files of a type that gets syntax highlighting applied, either through a builtin-lexer or through a user-defined-language; are you at liberty to tell what kind of files?

          Other debug steps:

          • if they’re on a network, try making a local copy of all the files in one directory on your local drive, and see if it’s okay
          • if you’ve opened in admin mode, try opening notepad++ without admin mode
          • If you open the files one-at-a-time (closing the previous one before opening), are all of them openable individually? If not, what’s unique about the one(s) that don’t open
          • Can you open an arbitrary group (say, 10 of the 11) without it hanging; are there combinations that work and combinations that don’t?
          • If you open them sequentially (open file1, then add file2, then add file3, …) does it hang? is it a specific file, or always the Nth file, no matter which order you open them?
          • if you create 11 dummy files (a bunch of lines of “abcd” or something similar) that 2Mb long each, and save them in the same directory(ies) as the problem files, can you open those 11 files simultaneously without a problem? If there’s a problem, what about with 1Mb each or 10 at a time

          That’s my first slew of things that I think might help. Hopefully, if you choose to respond with sufficient detail, we’ll be able to narrow down the problem.

          1 Reply Last reply Reply Quote 4
          • Murray SobolM
            Murray Sobol
            last edited by

            Debug Info:
            …
            Notepad++ v7.5.6 (64-bit)
            Build time : Mar 19 2018 - 00:23:17
            Path : C:\Program Files\Notepad++\notepad++.exe
            Admin mode : OFF
            Local Conf mode : OFF
            OS : Windows 10 (64-bit)
            Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll
            …

            Other things that might be relevant:
            are you running in Administrator Mode (elevated permissions) or as a normal user
            as a normal user
            are your files located on a local drive in your PC, or on a network drive?
            on a network drive
            Are all 11 files in the same directory, or spread across directories?
            in the same directory
            Do you have huge amounts of your 24GB memory already used by some memory-hog application, or lots of free space?
            hopefully not

            Are the files of a type that gets syntax highlighting applied, either through a builtin-lexer or through a user-defined-language; are you at liberty to tell what kind of files?

            the files are all file-type SQL.

            Claudia FrankC 1 Reply Last reply Reply Quote 1
            • PeterJonesP
              PeterJones
              last edited by

              Thanks for the info.

              If they are on a network drive, my best guess is that there are intermittent connection issues while Notepad++ is trying to read the files.

              If you try to open local copies of the files (making sure that the network copies are closed in NPP), do you have the same issue with NPP hanging?

              1 Reply Last reply Reply Quote 1
              • Claudia FrankC
                Claudia Frank @Murray Sobol
                last edited by

                @Murray-Sobol

                In addition to Peters useful tips,
                could it be that the sql files are sql dumps containing non-ascii chars and
                could it be that DSpellCheck is active aka Plugins->DSpellCheck->Spellcheck Document Automatically is checked? If so, I would give it a try with deactivated DSpellCheck.

                Cheers
                Claudia

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