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

Frontend reloads in iOS because of backend issue #353

Closed
oblique opened this issue Jul 26, 2024 · 3 comments
Closed

Frontend reloads in iOS because of backend issue #353

oblique opened this issue Jul 26, 2024 · 3 comments

Comments

@oblique
Copy link
Member

oblique commented Jul 26, 2024

iOS browsers reload lumina-front and our very simple ui after few minutes (sometimes after seconds).

We suspect that this is happening when our worker exits due to errors or gets killed due to memory consumption.

@oblique
Copy link
Member Author

oblique commented Jul 26, 2024

An IndexedDB issue that may triggers reloading:

image1

More info:

@oblique
Copy link
Member Author

oblique commented Jul 26, 2024

When we switch from IndexedDbStore to InMemoryStore, when reload happens, this line throws an exception. Which states Unhandled Promise Rejection: Error: node hasn't been started yet. (It is not clear if error happens before the reload)

This is an indication that our worker got killed (maybe because of memory consumption) and run_worker was started again.

oblique added a commit to oblique/lumina that referenced this issue Aug 1, 2024
`tracing_web::performance_layer` was causing high memory consumption
because browser was keeping high resolution data for each tracing event.

Fixes eigerco#352 and eigerco#353
oblique added a commit to oblique/lumina that referenced this issue Aug 2, 2024
fl0rek pushed a commit that referenced this issue Aug 2, 2024
@oblique
Copy link
Member Author

oblique commented Aug 2, 2024

Fixed in #356

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