vote up 5 vote down star
4

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:
Many thanks for the great suggestions.
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.

flag
show 1 more comment

18 Answers

vote up 10 vote down check

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|flag
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 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 at 12:18
1  
Wow - gvim is good! – Umber Ferrule Mar 1 at 13:25
vote up 3 vote down

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|flag
vote up 2 vote down

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|flag
vote up 1 vote down

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|flag
vote up 1 vote down

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

link|flag
vote up 1 vote down

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

link|flag
show 1 more comment
vote up 1 vote down

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|flag
vote up 0 vote down

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|flag
vote up 0 vote down

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

Well worth the $40.

link|flag
vote up 0 vote down

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

link|flag
vote up 0 vote down

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|flag
show 3 more comments
vote up 0 vote down

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

link|flag
vote up 0 vote down

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|flag
vote up 0 vote down

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

link|flag
vote up 0 vote down

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|flag
vote up 0 vote down

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

link|flag
vote up 0 vote down

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

link|flag
vote up 0 vote down

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|flag

Your Answer

Get an OpenID
or
never shown

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