Skip to content

Crash on fairphone 6 running /e/os when opening large folder #17050

@jessebot

Description

@jessebot

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Open app to large folder of a hundred or so files.

Expected behaviour

The app should not crash.

Actual behaviour

Cause of error

Exception in thread "main" java.lang.OutOfMemoryError: Failed to allocate a 56 byte allocation with 65280 free bytes and 63KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
    at com.owncloud.android.operations.FolderRefreshScheduler$checkAndRefreshIfETagChanged$result$1.invokeSuspend(FolderRefreshScheduler.kt:74)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)

App information

  • ID: com.nextcloud.client
  • Version: 330010090
  • Build flavor: generic

Device information

  • Brand: Fairphone
  • Device: FP6
  • Model: Fairphone 6
  • Id: BP1A.250505.005
  • Product: lineage_FP6

Firmware

  • SDK: 35
  • Release: 15
  • Incremental: 1770822901

Android version

/e/os 3.5

Device brand and model

fairphone 6

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

330010090

Nextcloud server version

33.0.2

Using a reverse proxy?

No

Android logs

No response

Server error logs

Additional information

I will add more from a computer. Opening from my phone right now.

May be duplicate of #9903 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions