Tutu uses too much memory #33

Open
opened 2024-10-24 07:33:08 +00:00 by Rubicon · 2 comments
Owner

Reproduction:

  • iPhone 12, iOS 18, installed as a standalone.
  • In the "Timelines" page, one of the timeline, like the "Home".
  • Scroll to bottom, click "load more" or use the "prefetch toots" option.
  • The app randomly crashes and restarts.

My guess is the app uses too much memory.

Reproduction: - iPhone 12, iOS 18, installed as a standalone. - In the "Timelines" page, one of the timeline, like the "Home". - Scroll to bottom, click "load more" or use the "prefetch toots" option. - The app randomly crashes and restarts. My guess is the app uses too much memory.
Rubicon added the
bug
user-agent/webkit
performance
labels 2024-10-24 07:33:08 +00:00
Rubicon changed title from PWA crashes after "load more" multiple times on timelines page. to Tutu uses too much memory 2024-10-29 07:32:30 +00:00
Rubicon removed the
user-agent/webkit
label 2024-10-29 07:32:47 +00:00
Author
Owner

Observed on Firefox(Linux) in development mode: in the timelines uses 300-400MB, in reload or HMR can bump to 600MB

Observed on Firefox(Linux) in development mode: in the timelines uses 300-400MB, in reload or HMR can bump to 600MB
Author
Owner

Observed on Firefox(Linux) in development mode: in the timelines uses 300-400MB, in reload or HMR can bump to 600MB

This happens after we use ResizeObserver to calculate layout in MediaAttachmentGrid. Previously the number is usually 250-400MB.

I don’t know if we need to switch to another layout for this.

> Observed on Firefox(Linux) in development mode: in the timelines uses 300-400MB, in reload or HMR can bump to 600MB This happens after we use ResizeObserver to calculate layout in `MediaAttachmentGrid`. Previously the number is usually 250-400MB. I don’t know if we need to switch to another layout for this.
Sign in to join this conversation.
No description provided.