up vote 8 down vote favorite
6
share [g+] share [fb]

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.

link|improve this 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
Possible duplicate: superuser.com/questions/34749/… – Hello71 Dec 3 '10 at 2:40
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ.

20 Answers

up vote 11 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.

link|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
1  
Wow - gvim is good! – Umber Ferrule Mar 1 '10 at 13:25
feedback

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

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

link|improve this answer
+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
feedback

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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

Well worth the $40.

link|improve this answer
feedback

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

link|improve this answer
feedback

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

link|improve this answer
It should be able to handle large files, you may have to change it's settings. – Sam Hasler Jul 16 '09 at 11:46
This is strange, I've used UltraEdit on many occasions to open much larger text files than that (hundreds of megs) and although it takes a sec to open the file after that everything is snappy. – digiduck Jul 16 '09 at 12:36
I must have something messed up, then. – Jason S Jul 16 '09 at 14:16
feedback

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

link|improve this answer
feedback

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

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

link|improve this answer
feedback

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.

link|improve this answer
feedback

I definitely concur on EmEditor. Perfect for large files.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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