Notepad limitations are by design. This is a simple edit class. Always was, probably always will be. Notepad was already seconded by MSDOS text editors, including MS own MS Editor.

It has also nothing to do with being commercial or not. Notepad is an historic application in the windows environment with a very clear and understood purpose. It was never meant to handle large files. All changes ever performed to Notepad throughout its long history have been either just a consequence of changes to the underlying class in the windows api, or an understandable need to support multiple languages. Contrary to its cousin, MS Paint, Notepad never got revamped. Why should it? With so few features, why would anyone want to use it for editing/perusing 40 Mb files?