krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
1.22k stars 222 forks source link

Web app freezes after awhile #1460

Open wcjord opened 2 weeks ago

wcjord commented 2 weeks ago

Bug Description

UI is frozen after some time.

While trying to click around on the interface, Activity Monitor spiked at 40% CPU usage of a 2024 MacBook Pro when first interacting then dipped back to single digits.

Memory usage is 2.27GB. Refreshing the page reduced the memory but the UI is still frozen.

Refreshing the tab doesn't get it going again. You have to totally close the tab and open a new one. Then it's back to normal.

Steps to Reproduce

  1. Open FluffyChat on web
  2. Leave the tab open
  3. Come back ~1 hour later
  4. UI is frozen.

Expected Behavior

Ideally, it won't need a refresh.

App Version

1.22.0

Additional Platform Information

Safari Web

Additional Context

Seems that syncs are completing in the background but the UI remains frozen.