nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.25k stars 1.76k forks source link

Nextcloud Android keeps failing with OOM #10999

Closed Digit-al closed 1 year ago

Digit-al commented 1 year ago

⚠️ Before posting ⚠️

Steps to reproduce

Keep the nextcloud client running with several folder to synchronize

Expected behaviour

Synchro works for all

Actual behaviour

All the img and videos in the whatsapp folder are in error Many OOM appearing on the Android screen, nextcloud app reported unresponsive by the system

Cause of error

Exception in thread "WM.task-1" java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 976336 free bytes and 953KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(AbstractQueuedSynchronizer.java:1896)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2077)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
    at java.lang.Thread.run(Thread.java:1012)

App information

Device information

Firmware

Android version

12

Device brand and model

POCO F3

Stock or custom OS?

Stock

Nextcloud android app version

3.22.3

Nextcloud server version

25.0.1

Using a reverse proxy?

Yes

Android logs

No response

Server error logs

No response

Additional information

No response

AlvaroBrey commented 1 year ago

Duplicate of #10653