Skip to content
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

Poor performance when viewing logs with very long lines #288

Open
greenseeker opened this issue Jul 11, 2023 · 0 comments
Open

Poor performance when viewing logs with very long lines #288

greenseeker opened this issue Jul 11, 2023 · 0 comments

Comments

@greenseeker
Copy link

LogExpert 1.9.0 on Windows 10.
I don't remember having this on 1.7.x and I skipped over 1.8.x, so not sure about that.
Happens with both local and network files. These files are always static when I view them.

The application I support sometimes includes inline XML in its logs and these lines can get very long (3000+ characters is not unusual). I've found that LE becomes very slow when working with these files.

I thought it was the XML initially, but I generated a line of 3000 random characters as a test. I copy/pasted this 50x and saved it as a text file of 147KB. When I tried to open it with LE, the CPU pegged and after several minutes I had to kill the process.

However, if I edit that file and insert a newline every 50 characters, the file size increases just slightly to 153KB, but I can open it with LE without issue.

It seems to be the line length rather than the content. The more long lines there are, the worse the performance gets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant