What is the file size limit in TED Notepad?

(from TED Notepad FAQ)

The short answer: With average text file, one should be able to load at least 350 to 450 million characters in the Unicode version. In the non-Unicode version, one can easily load 700 to 800 million characters.

Why only 350 to 450 million characters?

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 2 GiB of memory at one time, the amount of available memory is always upto 2 GiB.

If memory is not an issue, a theoretical limit for the Unicode version is about 800 million characters and about 1500 million characters for non-Unicode version. However, this top limit only applies to non-wrapped extreme-long-lines text.

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. The exact amount required changes from version to version as optimizations are applied.

Also, current versions employ older file-loading routine, which uses extra memory upon file reading and converting. This is about to change in the near future though, allowing the users to load bigger files.

So, what is the real limit?

From real experience and testing, for some average text with reasonable average amount of lines, one should be able to load at least 350 and upto 450 million characters in the Unicode version. In the non-Unicode version (which is obviously better for loading huge files), one can easily load 700 to 800 million characters (although only ANSI characters are supported non-Unicode version).

As soon as the current file-loading routine is replaced by a new one, one should be able to load at least 700 million characters in the Unicode version and 1400 million characters in the non-Unicode version. This is to be verified upon respective release.

Go back to TED Notepad homepage.