Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Text Editor for very big file - Windows

Are there any text editors/viewers (preferably on windows but other platforms are also ok) that can handle files of 500 MB or more?

The editors I checked so far (Notepad++, Notepad, Eclipse) all choked on files of that size.


Edit:

I tried gvim as it was the top voted and was available on Windows. I opened the file in a reasonable time. After that scrolling and searching was very smooth as long as syntax highlighting was turned off.

From the other editors mentioned TextPad and EmEditor both claim to be able to handle large files very well. EmEditor seems to be built exactly for editing large files.

I'll probably try both and report back.

share|improve this question

marked as duplicate by BloodPhilia, studiohack Mar 17 '11 at 16:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3  
There is a duplicate on ServerFault: serverfault.com/questions/1602, "Good text editors or viewers for large log files". –  Peter Mortensen Jul 17 '09 at 16:20

20 Answers 20

up vote 14 down vote accepted

I have used gvim for files larger than 1 GB of NASTRAN output. gvim handles large files very well. In fact that was the main reason I switched from Emacs to vim.

Emacs is a great editor but it can handle files only as large as 128 MB, at least the 32-bit version. If you decide to use Emacs I recommend to configure it to turn syntax highlighting off for large files.

Another way to deal with large files those days was heavy usage of less, head, tail and split.

share|improve this answer
1  
I'd recommend turning syntax highlighting off in vim as well, while viewing files of that size. What good is syn. high. in 1 gb file ? –  ldigas Jul 16 '09 at 3:13
1  
If it's 1 GB of source code, I'd say syntax highlighting would be very handy :p (although I sure hope it's not... hehe) –  Svish Mar 1 '10 at 12:18

Under *unix less it is incredibly fast reading huge txt files. It depends on what you mean for inspect tough.

I've just tried to generate a huge txt file (700mb). less opens that file instantaneously.

If you want to read only the starting/ending part of a file you could use head/tail. An useful thing about tail is the follow option, you can follow a changing file, just like a big, growing log.

share|improve this answer

For viewing and search, use the internal viewer from total commander. It's instant on files of any size (several GB).

share|improve this answer
1  
+1 I'll second that. It's ugly as hell but is extremely fast as I think it streams the file rather than trying to open the whole thing –  tjrobinson Jul 16 '09 at 12:26

vim will handle it. Not necessarily terribly speedily, but it won't choke (assuming your system has enough memory to give it). Windows version works fine.

share|improve this answer

On Mac, I use TextWrangler, you can open really big files (last test I did was a 270 MB file) in a few seconds and scroll with no problem. Saving is a bit longer, though.

share|improve this answer

I haven't tried it on a 500mb file, but Textpad usually handles large files pretty well.

share|improve this answer

I use Notepad++ on anything up to about 250MB. Beyond that it fails, but the search facilities make it well worth using for those files it can open.

share|improve this answer

I've used baretail as a text viewer. It's intended purpose is to watch log files, so it will constantly scroll down as text is added to a file by some other program. It's very fast.

share|improve this answer

On Windows, I use EmEditor, which has excellent support for large files. I absolutely love it!

Well worth the $40.

share|improve this answer

In a prior life I opened relatively large (~200mb) reader files in vim. Worked much better than eclipse =)

share|improve this answer

Not UltraEdit, apparently. I just tried it with an 85MB .txt file and it slowwwed to a crawl (though at least didn't crash).

share|improve this answer

LTF Viewer (Large Text File Viewer) from swiftgear was designed for this.

share|improve this answer

If it's logfiles or something similar you're examining, you can often glean what you need from it by using head to dump the first few hundred lines into an editor or text file. Otherwise gvim, as Ludwig mentioned, would be my choice.

share|improve this answer

I like WinVI, it usually handles large files fairly well.

share|improve this answer

I am using Far which, of course, isn't just a text viewer/editor (although you can probably say the same of emacs and vi). The editor, however, will have to read the complete file, although 500 MiB is hardly large these days.

However, I've been using the self-compiled svn version for some time due to some bugs in the latest stable on Vista and lack of Unicode support.

share|improve this answer

I use EmEditor on Windows. It' give control over large files and what bits of the file you want to load.

share|improve this answer

And the list continues... LTF Viewer (Large Text File Viewer).

share|improve this answer

PilotEdit, you can edit files large 500MB with PilotEdit easily. But it may take several minutes for PilotEdit to open/save a huge file. After the file is opened, you can edit it smoothly.

share|improve this answer

I definitely concur on EmEditor. Perfect for large files.

share|improve this answer

I typically use Komodo Edit for large files. I also use it for development and coding. It's free and works on Windows and OSX.

share|improve this answer

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