What is the file size limit in TED Notepad?

(from TED Notepad FAQ)

The short answer: With an average-looking huge text file, one should be able to load at least 700 million characters in the Unicode version. In the non-Unicode version, one should be able to do 1.4 billion characters. That is at least 700MB and 1400MB files respectively.

Why only 700MB?

There is no definite file size limit in TED Notepad, except for a limit imposed by the amount of currently available memory, determined by physical memory and pagefile size. Also, since 32-bit applications can't utilize more than 2GB of memory at one time, the amount of available memory is always limited to 2GB.

If memory is not an issue, a 2GB limit for the Unicode version is usually found around 800 million characters (Unicode takes 2 bytes per each character, therefore 1.6GB of text, plus the buffer index and line index, and the system also takes some of the memory for itself). For non-Unicode version, the 2GB limit is found about 1500 million characters.

Note: Each line needs to be indexed in order to stay prompt (scrolling and drawing). The more lines there are, the bigger the cost in terms of additional memory requirements. Opening a file with 400 million newlines is going to have some serious memory requirements.

Go back to TED Notepad homepage.