-
Notifications
You must be signed in to change notification settings - Fork 374
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
Crashed on search in log files with 5 million lines #200
Comments
@yurivict could you upload your file somewhere and provide search pattern that caused that crash? Might be some FreeBSD issue. |
I selected 5 sample lines from the log file. Please run this shell script:
Then search for a common pattern there: TTL. |
As far as I understand the slowdown is mostly due to matches overview (the area near vertical scrollbar that shows approximate matching line positions). It updates on UI thread and processes all matches on every update thus getting slower during search. Refactoring this behavior is on my todo list for next klogg milestone (this is my fork, see issue 18). I'll do PR for glogg if code changes are not very extreme. Unfortunately I can't reproduce the crash with either glogg or klogg on my linux box. Did you build glogg from source? Was it 32- or 64-bit version? Could you reproduce the crash under debugger to get call stack? |
I couldn't reproduce crashes when I tried today either. Unfortunately, I deleted the original file. But this slowdown is pretty bad as it is. |
The search progresses to 40%, then slows down and crashes.
FreeBSD 11.1
The text was updated successfully, but these errors were encountered: