oxen-io / session-android

A private messenger for Android.
https://getsession.org
GNU General Public License v3.0
1.73k stars 165 forks source link

[BUG] 1.18.1 So Slow It's Unusable #1450

Open Sepero opened 2 months ago

Sepero commented 2 months ago

Code of conduct

Self-training on how to write a bug report

Is there an existing issue for this?

Current Behavior

Upgraded to 1.18.1 today. Open Session, and go into a chat or group with significant history. Constantly popping up with App not responding. I have to kill Session just to use my phone normally again. Possibly related to issue #1399

Expected Behavior

I don't know the version I had installed prior, but that version was working well.

Steps To Reproduce

Open app, then open any chat or group with a significant history.

Android Version

10

Session Version

1.18.1

Anything else?

I have Enabled trim messages to 2000 over 6 months yes. Attached debug export logs. OnePlus-OnePlus6-API29-v1.18.1-1712587191063.txt

Sepero commented 2 months ago

Additional info: Installed from GitHub releases, not Google play

Sepero commented 2 months ago

Prior to entering a group, Session appears to run fine. I'm aware of other people who have experienced this same issue. To get rid of the issue, they said they restored from passphrase already. My account is essentially in an unusable state. I've been waiting for upgrade to fix.

More logs OnePlus-OnePlus6-API29-v1.18.1-1712828141149 (1).txt

pottsandpans commented 1 month ago

This issue is being tracked internally in Jira - SES-1904

Sepero commented 1 week ago

I see SES1901 was merged into v1.18.3. I'm now running v1.18.4 and this issue is still not resolved.

On v1.18.1 I eventually ended up erasing all my chat history to make the app usable again.

I've been using Session since then, and I'm in some popular community groups. Now that the chat history is building up again, I notice the app slowing down, scrolling jerky, and using more resources. As more chat history accumulates, the worse the problem becomes.

KeeJef commented 1 week ago

We are working on a host of performance improvements currently, hoping to get various improvements out in next point release, very aware of how the app slows down as message history increases and working on fixes 👍

KeeJef commented 1 week ago

Would you be able to provide logs from the slow device @Sepero ? could help us diagnose

Sepero commented 1 week ago

Absolutely @KeeJef . My apologies. I appreciate your help with this.

OnePlus-OnePlus6-API29-v1.18.4-1719248751738.txt

Sepero commented 1 week ago

At the end of that log I tried to do some things that cause more extreme UI lag.

KeeJef commented 1 week ago

Thanks @Sepero , @simophin some logs to look at for performance issues, might provide some insights