I have a rather large log file on a Windows Server 2008 R2 computer. It's a couple of gigabytes in size, but Notepad, Wordpad, Notepad++, etc can't open it.
Which program should I use to handle such a file?
I have a rather large log file on a Windows Server 2008 R2 computer. It's a couple of gigabytes in size, but Notepad, Wordpad, Notepad++, etc can't open it.
Which program should I use to handle such a file?
It would have to be a 64-bit program to handle a file larger than 2 GB. This actually not a technical limitation but an implementation issue since most programs simply try to load an entire file in memory.
Whenever I encountered that issue on Windows, I found that MS Visual Studio 2010 (64-bits) works, at least for a few gigs. I realize if you do not have that software already it is an expensive buy just to open a file but you may be able to at least get a trial version.
Vim is a great one. Others include 010 Editor, or so I've heard, and SlickEdit. Though slick edit is really geared to coding, it should handle large text files ok.
Don't open it in an editor. Try using findstr
on it to search for the lines you are interested in. That way you don't have to load the whole file into memory at once.
See also: https://stackoverflow.com/questions/159521/text-editor-to-open-big-giant-huge-large-text-files
I think you have ruled out most editors.
Why not just create a small console utility (x64 prefered) (say in C#) which will read all the text and break it down into smaller managable files which can be then read using notepad++?