nextcloud / nextcloud/android

Bug: when trying to upload photos

Open
#17,413 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

### Cause of error
```java
Exception in thread "Thread-43" java.lang.OutOfMemoryError: Failed to allocate a 55640 byte allocation with 2186400 free bytes and 2135KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at org.apache.jackrabbit.webdav.MultiStatus.getResponses(MultiStatus.java:128)
at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.readData(ReadFolderRemoteOperation.java:133)
at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.run(ReadFolderRemoteOperation.java:70)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193)
at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:460)
at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:275)
at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
at java.lang.Thread.run(Thread.java:1572)

```

### App information
* ID: `com.nextcloud.client`
* Version: `340010090`
* Build flavor: `gplay`

### Device information
* Brand: `google`
* Device: `husky`
* Model: `Pixel 8 Pro`
* Id: `CP1A.260505.005`
* Product: `husky`

### Firmware
* SDK: `36`
* Release: `16`
* Incremental: `15081906`

### Expected behaviour

Tldr

### Actual behaviour

Tldr

### Android version

.

### Device brand and model

.

### Stock or custom OS?

Stock

### Nextcloud android app version

.

### Nextcloud server version

Android app client side error

### Using a reverse proxy?

No

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the reported stack trace at org.apache.jackrabbit.webdav.MultiStatus.getResponses and follow it through ReadFolderRemoteOperation.readData and RefreshFolderOperation.fetchAndSyncRemoteFolder. Reproduce the failure on the reported Pixel 8 Pro configuration while uploading photos, then establish that folder refresh no longer exhausts the heap; the issue provides no expected or actual behavior details for a more specific completion check.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.