GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Unable to complete previous operation due to low memory #64

Closed sshrshnv closed 3 years ago

sshrshnv commented 3 years ago

This happens periodically after opening the file explorer (and selecting a file of any size, even small (~10KB)) or camera. Trace is not recorded due to browser restart.

Application version: Chrome 92.0.4515.131

Operating system: Android 9

Phone memory:

tomayac commented 3 years ago

This is https://crbug.com/417742. To fix this, go to your Android device's settings, find the developer options, and turn off "Don't keep activities".

sshrshnv commented 3 years ago

This is https://crbug.com/417742. To fix this, go to your Android device's settings, find the developer options, and turn off "Don't keep activities".

"Permission denied."

Will this bug be fixed by Chrome? It's difficult to explain to users where and what should be disabled.

tomayac commented 3 years ago

Oh, sorry about the permission denial. These are the essential bits:

sshrshnv commented 3 years ago
Do you have "Don't keep activities" checked in developer settings?
Yes I have checked "don't keep activities" in developer settings

In my case "Don't keep activities" is unchecked and I still get this error a lot anyway.

tomayac commented 3 years ago

I have asked for the bug to be made public and commented on you seeing this despite the toggle set to off.

Screen Shot 2021-08-12 at 17 14 46
sshrshnv commented 3 years ago

I disabled "Battery optimization" for Chrome (enabled by default) and it seems it helped.

tomayac commented 3 years ago

Thanks for sharing the solution. I have also updated the Chrome bug accordingly.

tomayac commented 3 years ago

(By the way, the Chrome bug is now publicly visible.)