-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxSize argument exceeds QByteArray size limit #286
Comments
Could it be that the bkp.sql file has only single line? |
Sorry. For single line you mean "just one large and straight line"? No idea. |
@GeadSolutions could you run glogg uses QByteArray/QString/QRegularExpression classes from Qt library. These classes can't handle huge lines. Changing this would require major refactoring as glogg currently need to keep the whole line in memory to do search pattern matching. |
in: wc -L bkp.sql |
It is definitely not a huge length. I've no more ideas at the moment. You could try klogg, I've rewritten a lot of glogg's code, so this particular issue might be fixed. |
Well. I tried to run klogg with taht file but all system freezed and crashed. If you have another guess let me know, but I think perharps my system doesn't be prepared to make it properly. |
Sorry for that. Looks like out of memory issue. Could you restart klogg (without any files)? It might have created a crash dump, and on next start it should ask permission to upload it for analysis. |
When I restarted it doesn't show me any report, so I created one for myself and sent to you. I've created this issue with the incoming content for anyone who want to consult too. |
Using glogg_1.1.4-1.1build1_amd64 on Ubuntu 20.04.2 LTS
QIODevice::read (QFile, "/home/ar/scripts/bkp.sql"): maxSize argument exceeds QByteArray size limit
This message return when I try to search for a string like
Plan
onto "bkp.sql" (4GB).There is any settings or known issues that I can consult about it?
The text was updated successfully, but these errors were encountered: