EmEditor – A Text Editor for reeeeeally long lines

I recently had a 20 megabyte HTML file with very long lines of text. Almost all 20 megabytes was on a single line in the file. My favorite editors Visual Studio 2010 and Notepad++ both were unable to handle it. Visual Studio consumed more and more memory, up to 2 gigabytes before I killed the process. NotePad++ was happy to consume only 200 megabytes, but after 5 minutes of churning away with no sign of progress I gave up on it to.

After some initial googling and swearing I came across EmEditor. It handled loading and searching the awkwardly sized file with no problems. It’s a new tool I will definitely keep in my tool belt for the future!

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

2 Responses to EmEditor – A Text Editor for reeeeeally long lines

  1. Tester says:

    It is not true – insert text around 10000000 characters in line and editor makes so slow (CPU i5, 8Gb RAM).
    Maybe EmEditor work faster with existent files (partly load + index control points) but CANT WORK with real long lines (typed or inserted)!

  2. codealoc says:

    I can’t explain what you are seeing. My i7 MacBook opens a 200 meg file almost instantly with EmEditor. I created a file with 100,000,0000 characters here using C#.

    using (var file = new System.IO.StreamWriter(@”C:\git\TestData.txt”, true))
    for (int i = 0; i < 100000000; i++) file.Write("W");

    System.Diagnostics.Process.Start(@"C:\Program Files\EmEditor\EmEditor.exe", @"C:\git\TestData.txt");

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s