@Joe3160 : Please provide us with more Information, at least used NP3 version.
How large is the file, if it is 7z'ed (LZMA2 ULTRA compressed) ? Maybe small enough to attach?
How large is the file, if it is 7z'ed (LZMA2 ULTRA compressed) ? Maybe small enough to attach?
Or you can provide us a link from: "https://workupload.com" ? 馃槂
I can not provide a file so large.
but I show how create this big file. this is the source code:
package main
import (
"fmt"
"os"
)
func main() {
f, err := os.Create("lines.txt")
if err != nil {
fmt.Println(err)
f.Close()
return
}
var str="Welcome to the world'\nbababa..... bababa..... bababa..... bababa..... bababa..... "
for i := 0; i < 100000000; i++ {
fmt.Fprintln(f, str)
//fmt.Println(i)
if err != nil {
fmt.Println(err)
return
}
}
err = f.Close()
if err != nil {
fmt.Println(err)
return
}
fmt.Println("file written successfully")
}
Hello @Joe3160 ,
Tested with "Notepad3 (64-bit) v5.20.317.1 RC3".


I was not able to reproduce your "crash issue".
Here my test files: Test_big_files_till_4GB.rar (WinRar compressed up to 4.53 MB!) 馃槷
Hello @RaiKoHoff ,
The time to open the big files is short on my fast i7 desktop. 馃憤
But I don't understand if "Styling" doesn't apply, why when I load a large file, the screen stays for a while on "Styling":

Then, when the file is displayed, the screen is also frozen for a while! 馃
馃憤.馃憤Mybe I must update my notepad!!
@hpwamr : If the file size exceeds the configured limit, no Lexer (Syntax-Highlighter) is applied (this saves a lot of time), but for styling, there some other operations still applied (Occurrence Marker, Hyperlink detection, some small other stuff ..). The Wait-Cursor (Statusbarbar Message + Spinning Mouse Pointer) is not applied always, this definitely needs more rework for big files ...
@Joe3160: Feel free to test the RC version "Notepad3Portable_5.20.317.1_RC3.paf.exe.7z" or higher.
See "Notepad3 BETA-channel access #1129" or here Notepad3Portable_5.20.317.1_RC3.paf.exe.7z.7z
Note: "Notepad3Portable RC" can be used in "2 flavors", see with or without extension ".7z".
Get it. Thanks a lot!
Most helpful comment
Get it. Thanks a lot!