Cannot open large file 600MB 32bit
-
cannot open txt/sql file 600Megs in length in 32 bit. Is there a problem with large file? what is the size limits for 32bit/64bit?
-
Opening such large files, especially with highlighting enabled, is not really fun. On x86 I was not able to open files larger than ~500Mb too, while on x64 I am able to open > 1GB, but only if I treat them as text files (no highlighting).
-
furthur digging, reinstalled npp 8.1.1 x86, no other plugins.
npp was able to open file, but when i have npp to save session, i closed npp and reopen it gives error cannot open file to large and removes file from tabs. -
@TonyP said in Cannot open large file 600MB 32bit:
npp was able to open file, but when i have npp to save session, i closed npp and reopen it gives error cannot open file to large and removes file from tabs.
That says that it is a memory issue – that you didn’t have enough system memory to allocate enough for NPP to open the file. So the first time you opened it, you had enough memory (maybe because of order of operations in NPP, or because you had fewer other processes using memory), but when you exited and then re-ran NPP, your system no longer had enough memory to allocate to NPP.
Notepad++ is not actually optimized for huge-file editing – to be truly optimized for such, an editor would required “paged” editing, where it just loads part of the file from disk at a time, and if you move beyond the chunk, then it will clear the buffer and load a new chunk from the disk. To add that feature to Notepad++ would require a complete re-write, so isn’t going to happen.
However, if you Iook at this post, there’s a link to the “BigFiles” plugin, which gives paged access to files that are too big to be effectively edited in Notepad++. But as another recent discussion shows, there are drawbacks to the BigFiles Plugin method of editing big files, too.