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

Upload Whole Camera Roll: OOM while indexing #1738

Open
vidister opened this issue Nov 6, 2021 · 3 comments
Open

Upload Whole Camera Roll: OOM while indexing #1738

vidister opened this issue Nov 6, 2021 · 3 comments

Comments

@vidister
Copy link

vidister commented Nov 6, 2021

Steps to reproduce

  1. Enable Upload Whole Camera Roll with ~30k photos
  2. Watch loading spinner

Expected behaviour

Eventually photos are indexed and added to the upload queue

Actual behaviour

On iPhone 13:
App crashes after a few minutes

On iPad Pro 5th gen:
Works as expected

The iPad has 16 Gb of RAM, opposed to the iPhone with 4 Gb. I suppose we run into a memory limitation.

Environment data

iOS version: iOS 15.1 on both devices

Nextcloud iOS app version: 4.0.6.0

Server operating system: NixOS 21.05

Web server: Nginx

Database: PostgreSQL

PHP version: 7.4.23

Nextcloud version: 22.1.1

@AlexTheK
Copy link

+1

Happens to me as well on Iphone 11 Pro Max with ~16k photos/videos, 160GB total.
Exactly same behaviour

@intcreator
Copy link

intcreator commented Mar 10, 2022

also appears to hang forever on iPhone XR with ~33k photos/videos (around ~90 GB of files). however after several minutes (I didn't keep track but I'm thinking around 15-20?) the process ended up succeeding and the badge over the files tab changed from ~3k to ~33k. I kept the phone unlocked and open on the Nextcloud app the entire time in case sleeping would interrupt the process.

unfortunately files don't appear to be uploading but I was also having issues with files uploading from this device before enabling the whole camera roll upload. another device connected to the same Nextcloud instance successfully uploaded so I believe it's an issue with the device. it's most likely outside the scope of this issue since it was happening before but I'm including it just in case it's related

as a quick/temporary fix it would really be nice to have the whole camera roll indexing start in the background and have some debugging details available on the phone so we can check on the status. currently we can only guess what's going on with the loading spinner (during which the app is unusable) and the badge over the files tab when it's done. the Nextcloud sync app on Windows has a fair amount of stats when initializing and executing syncs for example and the rest of the app is still usable even when large syncs are initialized

@pauldoo
Copy link

pauldoo commented Apr 19, 2022

Same issue for me using iOS 15.4.1 on my iPhone SE 2nd gen (link to discourse thread).

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

4 participants