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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login