ternandsparrow / wild-orchid-watch-pwa

Progressive Web App for the Wild Orchid Watch citizen science project
https://app.wildorchidwatch.org
4 stars 4 forks source link

Possible memory leak #58

Closed tomsaleeba closed 3 years ago

tomsaleeba commented 3 years ago

Env: Browser: Chrome 86 on Android Version: 0b0f626.20201014-130416

Steps:

Expected: The obs list is refreshed without error.

Actual: The Chrome tab crashes with an "Aw, snap" message. I haven't been able to get any logs, but I assume we're using too much memory. The logs in the JS console don't give any hints.

The fix might be to stop keeping all photos in memory. Instead, we only load them when we need them: