repeated crash on upload to network share via NC
- 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
1. set photo upload to network share
2. take photo
3. upload commences but crash occurs after 30 secs
### Expected behaviour
photo should upload
### Actual behaviour
### Cause of error
```java
Exception in thread "binder:7505_5" java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 1917840 free bytes and 1872KB until OOM, target footprint 402653184, growth limit 402653184; giving up on allocation because <1% of heap free after GC.
at hihonor.hiview.HiTraceImpl.getId(HiTraceImpl.java:109)
at hihonor.hiview.HiTraceHandlerImpl.csTraceInHandler(HiTraceHandlerImpl.java:38)
at android.os.Handler.enqueueMessage(Handler.java:820)
at android.os.Handler.sendMessageAtTime(Handler.java:771)
at android.view.ViewRootImpl$ViewRootHandler.sendMessageAtTime(ViewRootImpl.java:8893)
at android.os.Handler.sendMessageDelayed(Handler.java:741)
at android.os.Handler.sendMessage(Handler.java:678)
at android.view.ViewRootImpl.dispatchAppVisibility(ViewRootImpl.java:13662)
at android.view.ViewRootImpl$W.dispatchAppVisibility(ViewRootImpl.java:14692)
at android.view.IWindow$Stub.onTransact(IWindow.java:409)
at android.os.Binder.execTransactInternal(Binder.java:1539)
at android.os.Binder.execTransact(Binder.java:1476)
```
### App information
* ID: `com.nextcloud.client`
* Version: `30340190`
* Build flavor: `generic`
### Device information
* Brand: `HONOR`
* Device: `HNALT-Q1`
* Model: `ALT-NX1`
* Id: `HONORALT-N31`
* Product: `ALT-NX1EEA`
### Firmware
* SDK: `35`
* Release: `15`
* Incremental: `9.0.0.150C431E2R2P2`
### Android version
15
### Device brand and model
honor ax1
### Stock or custom OS?
Stock
### Nextcloud android app version
see log
### Nextcloud server version
see log
### Using a reverse proxy?
No
### Android logs
### Cause of error
```java
Exception in thread "binder:7505_5" java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 1917840 free bytes and 1872KB until OOM, target footprint 402653184, growth limit 402653184; giving up on allocation because <1% of heap free after GC.
at hihonor.hiview.HiTraceImpl.getId(HiTraceImpl.java:109)
at hihonor.hiview.HiTraceHandlerImpl.csTraceInHandler(HiTraceHandlerImpl.java:38)
at android.os.Handler.enqueueMessage(Handler.java:820)
at android.os.Handler.sendMessageAtTime(Handler.java:771)
at android.view.ViewRootImpl$ViewRootHandler.sendMessageAtTime(ViewRootImpl.java:8893)
at android.os.Handler.sendMessageDelayed(Handler.java:741)
at android.os.Handler.sendMessage(Handler.java:678)
at android.view.ViewRootImpl.dispatchAppVisibility(ViewRootImpl.java:13662)
at android.view.ViewRootImpl$W.dispatchAppVisibility(ViewRootImpl.java:14692)
at android.view.IWindow$Stub.onTransact(IWindow.java:409)
at android.os.Binder.execTransactInternal(Binder.java:1539)
at android.os.Binder.execTransact(Binder.java:1476)
```
### App information
* ID: `com.nextcloud.client`
* Version: `30340190`
* Build flavor: `generic`
### Device information
* Brand: `HONOR`
* Device: `HNALT-Q1`
* Model: `ALT-NX1`
* Id: `HONORALT-N31`
* Product: `ALT-NX1EEA`
### Firmware
* SDK: `35`
* Release: `15`
* Incremental: `9.0.0.150C431E2R2P2`
### Server error logs
```bash
```
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.