File size limit on the notepad ++ 7 X64 ?
-
Hello,
I was hoping to be able to open bigger files with the X64 version of notepad 7.x, it seems still to be limited to 2 gigabyte.
Is there any way to improve that ?
Thanks.
-
no, this is a hardcoded limit. From buffer.cpp
if (bufferSizeRequested > INT_MAX) { ::MessageBox(NULL, TEXT("File is too big to be opened by Notepad++"), TEXT("File size problem"), MB_OK|MB_APPLMODAL);
where INT_MAX = Maximum value for a variable of type int = 2147483647 = 2GB
Cheers
Claudia -
:( and this cannot be increased i gueuss ?
-
welll in theory it can be changed. If you replace INT_MAX by _I64_MAX and some code to
refelct the int to int64 changes you get a max of 9223372036854775807 bytes.
But no one has done this yet.You could give it a try and ask here for an enhancement.
Cheers
Claudia