ide: Hard limit for view increased to 16GB

This commit is contained in:
Mirek Fidler 2022-06-16 21:29:45 +02:00
parent 650ab9af60
commit fc83ac7f27

View file

@ -561,7 +561,7 @@ void Ide::EditFile0(const String& path, byte charset, int spellcheck_comments, c
view_file.Seek(0);
int le = Null;
#ifdef CPU_64
const int64 max_size = (int64)4096*1024*1024;
const int64 max_size = (int64)16384*1024*1024;
#else
const int64 max_size = 768*1024*1024;
#endif