How do I read a text file of about 2 GB? [duplicate]

Solution 1:

Try Glogg. the fast, smart log explorer.

I have opened log file of size around 2 GB, and the search is also very fast.

Solution 2:

WordPad will open any text file no matter the size. However, it has limited capabilities as compared to a text editor.

Solution 3:

Instead of loading / reading the complete file, you could use a tool to split the text file in smaller chunks. If you're using Linux, you could just use the split command (see this stackoverflow thread). For Windows, there are several tools available like HJSplit (see this superuser thread).

Solution 4:

I use UltraEdit to edit large files. The maximum size I open with UltraEdit was about 2.5 GB. Also UltraEdit has a good hex editor in comparison to Notepad++.

Solution 5:

EmEditor works quite well for me. It's shareware IIRC but doesn't stop working after the license expires..