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

lognote v1.0 is laggy and not responsive #16

Open
wshamroukh opened this issue Dec 24, 2024 · 4 comments
Open

lognote v1.0 is laggy and not responsive #16

wshamroukh opened this issue Dec 24, 2024 · 4 comments

Comments

@wshamroukh
Copy link

wshamroukh commented Dec 24, 2024

I am using lognote from its early stages on a Windows machine. I have noticed that it is very laggy while collecting logcat live and not showing logs live as previous version (v0.3.5 up to v0.3.7 are working for me just fine) it would also hang and freeze badly. I cant scroll most of the times in the logs.
Please let me know if you need any memory dump or any sort of logs that could help you figure out what is happening

@cdcsgit
Copy link
Owner

cdcsgit commented Dec 24, 2024

First, check if you have set the Scrollback value (top right)
https://github.com/cdcsgit/lognote?tab=readme-ov-file#mode
If the value is too large or not set, the log may accumulate in the memory and cause delay due to lack of memory.

And please let me know the version you are using and how to reproduce it for review.

@wshamroukh
Copy link
Author

First, check if you have set the Scrollback value (top right) https://github.com/cdcsgit/lognote?tab=readme-ov-file#mode If the value is too large or not set, the log may accumulate in the memory and cause delay due to lack of memory.

And please let me know the version you are using and how to reproduce it for review.

I am using the latest version v1.0. Scrollback(lines) is set to 100000 which is the default.
The way i reproduce it like this

  • connect my phone via cable, start lognote v1.0 and hit start. If I try to click on any line or scoll, then logging would not show anything and would only show logs after may be 5 seconds at once. However in v0.3.7 I don't see this behavior even with Scrollback(lines) is set to 100000 and it is very responsive and just works fine

@cdcsgit
Copy link
Owner

cdcsgit commented Dec 25, 2024

When I tested on Windows 10, the issue was not reproduced.
java - version "1.8.0_202"
adb - Android Debug Bridge version 1.0.41, Version 35.0.2-12147458

Please run a callstack dump in the jdk with the jstack command and let me know the result.

jstack -l PID

@wshamroukh
Copy link
Author

When I tested on Windows 10, the issue was not reproduced. java - version "1.8.0_202" adb - Android Debug Bridge version 1.0.41, Version 35.0.2-12147458

Please run a callstack dump in the jdk with the jstack command and let me know the result.

jstack -l PID

for some reason I am not able to reproduce the issue now. If i face the issue again, I will collect the logs you requested and share here.

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

2 participants