Is there an inherent bug in the design of .txt that signficant performance drops can be experienced when working with relatively large files? Working with a file of over a million characters on Windows 8 and not only do editors (specifically Notepad++ and Wordpad) tend to run slowly, but frequently crash with large find and replace operations (if the find and replace conducts over 60,000 replacements for instance).

I have verified that this has nothing to do with the particular machine on which the textfile is operating (same poor performance on a similar, high spec machine).

I initially thought this was because the file in question was being edited on a network share, but copying it to a local folder still resulted in the same low performance.

The performance particularly drops when newlines are removed (working with a single word a million characters in length). Noticeable frame drop in UI despite using high end machine)

  • Is your question really if anyone else has noticed performance issues? Or are you trying to explain you've found a bug (if so, email the devs)? I'm not sure what you want us to do, I'm not sure how we can help. Depending on what you're doing, WordPad should be able to open files like this and you may see better performance. – Dave Jan 26 '15 at 10:10
  • @Dave you're right. Checked with wordpad. Same dodgy performance. Will change title – Stumbler Jan 26 '15 at 10:11
  • I'm sorry to inform you, but this kind of question is not within the scope for SuperUser because it does not have a single answer as the answer is based primarily about someone's opinion. – LPChip Jan 26 '15 at 10:17
  • A posting I found: link indicates that the Location Navigator plugin may be the issue. – Technophile Jun 22 '18 at 2:14

Try Ultra Edit Its the best in this case.

Features at a glance

  • Column / block editing
  • Multi-caret editing
  • Multi-select
  • Syntax highlighting
  • Integrated FTP client
  • Integrated SSH/telnet
  • Editor themes

  • Large file editing +4GB

  • File / data sorting
  • Powerful search
  • Supports regex
  • CSV data reformatting
  • Macros and scripts
  • File compare
  • Smart templates
  • Yes: tried it there and an operation that took over 20 seconds in Notepad++ (and just plain crashed wordpad) took less than a second in Ultraedit! – Stumbler Jan 26 '15 at 10:56
  • @Duncan Yeah! Im glad. This little program works like a charm .. I love it... and also its good to know that it was marked as the 1st world's text editor in 2014 – TechLife Jan 26 '15 at 11:04

Notepad++ was not designed for large text files, instead I recommend a program called glogg. found here: http://glogg.bonnefon.org/

and I swear to god if anyone dislikes this post and complains that I'm answering with a link then grow up because I did fully answer the question.



1 million characters (1MB) is actually not that huge.


Other text-file editor

As others have pointed out, other editors have been designed to cope with large text files. In particular the two venerable masters of the text-editing world - vi (or vim) and emacs ought to cope well with files larger than the one you are editing.

For example, vim has a limit of 2 billion characters (2GB).


Other approaches

There are other tools for manipulating text files that can be better suited to some tasks. For example

  • sed
  • awk
  • perl
  • tr
  • grep

These are standard on Unix/Linux but can easily be obtained for WIndows, there are probably also many other Windows utilities that can efficiently do operations (such as search and replace) on very large files.

In general ordinary text editors are optimized for when you want to visually explore a file by scrolling around a line at a time. Other types of tool can be better for searching, reformatting, summing, condensing etc.


I edit my huge files with Microsoft Visual Studio. It is super fast and handles any size! try it! You can download free version (Community edition)


Notepad++ build 64bit is available now. You can use it.

  • VS 2017 = "File is too large to open" (3Gb) NPP 7.6.4 same thing "File is too big to be opened by Notepad++" – François Breton Mar 13 at 16:06
  • @FrançoisBreton what about ultra edit ? – Behrouz.M Mar 14 at 10:50
  • don,t want to spend money ;-) My preference goes to Visual Studio Code event if it had a little bug ("save as" doesn't work actually) – François Breton Mar 14 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.