Extrem long loading time of big text-files?
since some month the new Notepad+±versions need an extrem long time to load a big text-file?
Actually I use version 7.5.1 and a XML-file with size of 100 MByte needs several minutes to load. Windows-Notepad needs 10 seconds :o)
What is the problem here?
A couple things I’d suggest trying:
- Disable plugins. One of these could be causing issues.
- Change the extension to something like txt to see if the XML highlighting is the problem.
- Make sure the file isn’t on a network drive incase that is causing problems.
- If all else fails, downgrade Notepad++ to see if something changed in a newer version.
thank you for your reply, but all your suggestions are already testet:
- all plugins disabled
- file-extension is “isr” instead of “xml”
- drive is local harddisk (SSD)
Notepad++, v5.9.5 needs 5 seconds (similar to Windows notepad) to load an 80 MB-file and Notepad++ V7.5.1 needs for the same file over 2 minutes!!! Horror!
Unfortunately I can not attach files here? Else I would make the file available for you!
From what I can see, N++ does not have large file support:
In general, most text editors do not support large text files. Some restrict themselves
to available in-core RAM while others use sophisticated virtual memory management
techniques and paging algorithms
I created a ~100MB xml and it opened within 5 seconds on an old dualcore.
Thank you for all your replies. I decided to use NP V5.9.5 for my further live ;-)
For what I need V7.5?
The same 100MB-textfile is loaded in 5 seconds now. V7.5 needs >200 seconds.
Thread can be closed!
I’m also not facing your issue with N++ 7.5.1 on Win10 and a notebook HDD, loading 100MB+ binary files. Loading time with already open N++ < 3 seconds. Is N++ already open on loading or are you also starting up n++ on loading the xml file? I had a once issue where it last ~ 20 seconds to load a file, but on the next try it was ok again.
As for me, with my old XP laptop, with only 1 Gb of RAM ( don’t laugh at me :-)) OK, I’ll tell you when I cross the 21th century ! ) I’ve just tested opening, several times, a video clip (
860,000lines => I got an average of
10s) So, I don’t understand why you get such important opening times, with the last N++ version !
I simply noticed that it’s better to unset the Word wrap feature ( Menu View > Word wrap ) when dealing with huge files. Just test, going to the end of a big size file, with the
Ctrl + Endshortcut. With the Word wrap option
OFF, you reach the end, immediately ! But, when the Word wrap option is
ON, you must wait some time and, for instance, with the file described above, and my weak configuration, I had to force N++ to stop !
BTW, Peter, you said :
For what I need V7.5?
Just for ALL these new features and enhancements, below !
IMPORTANT WARNING :
I built this list from the different change.log files of each N++ version. I truncated lot of text, whose the plugins list and the bug-fixes. So this list is NOT exhaustive and simply show, to Peter1964, how many features and enhancements he misses, by keeping its
I have the same problem with 7.5.6 but only with huge lines.
After opening a 20 MB file with a single line the UI is responding very slowly. Activating linewrap doesn´t seem to make a difference.
Any chance to improve performance here ?
Just as Harald-Napp said, I have some troubles opening files with very long strings.
I have a file ~60MB with a single string and it takes several minutes to open it, while Lister or even Windows Notepad just takes several seconds.
It would be really great if you guys manage to improve the performance of opening such files.