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

web page crashes on older Galaxy devices loading duckdb shell #1857

Open
cfahlgren1 opened this issue Sep 17, 2024 · 1 comment
Open

web page crashes on older Galaxy devices loading duckdb shell #1857

cfahlgren1 opened this issue Sep 17, 2024 · 1 comment

Comments

@cfahlgren1
Copy link

What happens?

On older mobile devices, opening the DuckDB WASM Shell will crash the page.

I am not totally sure if the issue is Memory, OS, or the Browser, but seems to be happening on mobile devices with less than 3GB memory. Could it be because DuckDB WASM wants to the typical 4GB memory and OS / Browser kills the page?

Would love to know ways to detect this or if there was an ability to fail gracefully.

To Reproduce

User mentioned having this issue on Galaxy A03, Chrome 99, Android 12, 1GB RAM.

I was able to reproduce on this device. (It works for iPhones and other similar devices fwiw)

Galaxy Tab Lite

Specification Details
Memory 3 GB
OS Android 11

Browser/Environment:

Chrome 99

Device:

Galaxy Tab Lite

DuckDB-Wasm Version:

v1.1.0

DuckDB-Wasm Deployment:

shell.duckdb.org

Full Name:

Caleb Fahlgren

Affiliation:

Hugging Face

@cfahlgren1 cfahlgren1 changed the title Page crashes on Galaxy devices loading duckdb shell web page crashes on older Galaxy devices loading duckdb shell Sep 17, 2024
@carlopi
Copy link
Collaborator

carlopi commented Sep 26, 2024

Hi, thanks for raising this.

This should definitively not crash, what we are missing is at the moment some proper way to test this scenario.
I don't think it's connected to the memory limit, possibly to WebWorker availability, but I need to figure out what's the proper way to handle this, both in the specific and generic case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants