Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried opening a file of 800MB size in Notepad++. But i don't why Notepad++ showed only 269117242 chars 271450112 bytes . Neither it showed any alert message that it is unable to open such a big file. Then i used wordpad to open the same file, it worked like charm.

But why Notepad++ can't open 800MB file? I assume there must be some setting which says show only this much text.

P.S. Please don't suggest any other software which can open big files. I know they exist.

share|improve this question
It is in general not a good idea to say something such as what you have mentioned in the postscriptum. "P.S. Please don't suggest any other software which can open big files. I know they exist." – bubu Oct 1 '13 at 11:43
@bubu I added this text because otherwise you would see lots of answer which will say use this xyz software to open huge files. But this was not my question. I simply wanted to know why Notepad++ can't open. – Rakesh Juyal Oct 3 '13 at 9:15
up vote 32 down vote accepted

Notepad++ doesn't support huge files, according to this wiki documentation on SourceForge, the problem persists if the component (Scintilla) remains as the core of Notepad++ :

Older versions of Notepad++ may crash while opening very large files. Newer versions (5.2+) will deny opening the file and issue an error message. Why is that?

Notepad++ is based on a component (Scintilla) which is geared towards providing rich text viewing, with syntax highlighting and code folding, as opposed to bulk text services. There are necessary trade offs. Loading a 200MB file will require around 800MB of memory, and the OS may balk at the memory allocation request.

There are basically two ways out:

  • Split the huge file into manageable chunks, and keep only one of them in editor;
  • Use another tool which is tailored to handle massive text files.

If you still manage to open a large file, performance may not be optimal. Here is a couple things to think about:

  • Plugins which analyse and scan text will slow down NP++, disable them if possible
  • Parsing for clickable links on loading the document is slow if the document is large; disabling the clickable links has been reported to significantly help.

Another page on sourceforge also suggests that this problem persists throughout Notepad++'s life, as the community requested to solve this problem:

Why don't you try other software such as gVim? Is there any reason?

share|improve this answer
+1 for gVim, despite Rakesh's P.S. – RedGrittyBrick May 20 '11 at 9:02
better link for gvim: – CAD bloke Feb 27 '13 at 23:26
64 bit gvim at – CAD bloke Feb 27 '13 at 23:27
If Wordpad can open the file, which also allows for rich text editing, I'd say this is a bug in Scintilla. Also gVim appears to be a windowed shim around a console based editor. I would not consider it comparable to NotePad++, which is a fully functional, natively windowed editor. – trlkly Jun 1 '14 at 22:35
I would look into EditPad Lite. Tho even that only supports up to 2GB files. The Pro version supports larger ones. Very good. Instantly opens the big files. – SilentSteel Nov 3 '14 at 16:08

You must log in to answer this question.

protected by Community Apr 8 at 23:44

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .