reading large files
-
I am trying to read 11 files; their sizes vary from 7KB thru 2172 KB.
-
@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 -
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.
-
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 notAre 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.
-
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?
-
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