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

Failed to allocate a 16 byte allocation with 9962608 free bytes and 9729KB until OOM #11141

Closed
4 tasks done
kasumiru opened this issue Dec 5, 2022 · 3 comments
Closed
4 tasks done
Labels
bug performance: misc lag, ANR, etc and rarer exceptions/errors that don't have their own labels

Comments

@kasumiru
Copy link

kasumiru commented Dec 5, 2022

⚠️ 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

run nextcloud in android, open "status transfer"
and next I see ************ CAUSE OF ERROR ************

Expected behaviour

start normal synking files

Actual behaviour

Exception in thread "Thread-10" java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 9962608 free bytes and 9729KB until OOM, target footprint 805306368, growth limit 805306368; failed due to fragmentation (largest possible contiguous allocation 0 bytes). Number of 256KB sized free regions are: 0

Android version

12

Device brand and model

asus zenfone 8

Stock or custom OS?

Stock

Nextcloud android app version

3.22.3

Nextcloud server version

24.0.2

Using a reverse proxy?

No

Android logs

Cause of error

java
Exception in thread "Thread-10" java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 9962608 free bytes and 9729KB until OOM, target footprint 805306368, growth limit 805306368; failed due to fragmentation (largest possible contiguous allocation 0 bytes). Number of 256KB sized free regions are: 0
at sun.security.x509.X500Name.getRFC2253CanonicalName(X500Name.java:725)
at sun.security.x509.X500Name.hashCode(X500Name.java:383)
at javax.security.auth.x500.X500Principal.hashCode(X500Principal.java:487)
at java.util.HashMap.hash(HashMap.java:338)
at java.util.LinkedHashMap.get(LinkedHashMap.java:464)
at okhttp3.internal.tls.BasicTrustRootIndex.(BasicTrustRootIndex.kt:57)
at okhttp3.internal.platform.Platform.buildTrustRootIndex(Platform.kt:163)
at okhttp3.internal.platform.Platform.buildCertificateChainCleaner(Platform.kt:160)
at okhttp3.internal.platform.Android10Platform.buildCertificateChainCleaner(Android10Platform.kt:82)
at okhttp3.internal.tls.CertificateChainCleaner$Companion.get(CertificateChainCleaner.kt:42)
at okhttp3.OkHttpClient$Builder.sslSocketFactory(OkHttpClient.kt:870)
at com.nextcloud.common.PlainClient$Companion.createDefaultClient(PlainClient.kt:62)
at com.nextcloud.common.PlainClient$Companion.access$createDefaultClient(PlainClient.kt:47)
at com.nextcloud.common.PlainClient.(PlainClient.kt:45)
at com.nextcloud.client.network.ClientFactoryImpl.createPlainClient(ClientFactoryImpl.java:94)
at com.nextcloud.client.network.ConnectivityServiceImpl.isInternetWalled(ConnectivityServiceImpl.java:79)
at com.owncloud.android.files.services.FileUploader.retryFailedUploads(FileUploader.java:1072)
at com.owncloud.android.utils.FilesSyncHelper.lambda$restartJobsIfNeeded$0(FilesSyncHelper.java:240)
at com.owncloud.android.utils.FilesSyncHelper$$ExternalSyntheticLambda0.run(Unknown Source:10)
at java.lang.Thread.run(Thread.java:1012)

App information

  • ID: com.nextcloud.client
  • Version: 30220390
  • Build flavor: gplay

Device information

  • Brand: asus
  • Device: ASUS_I006D
  • Model: ASUS_I006D
  • Id: SKQ1.210821.001
  • Product: WW_I006D

Firmware

  • SDK: 31
  • Release: 12
  • Incremental: 31.1010.0411.138

Server error logs

--

Additional information

--

@kasumiru
Copy link
Author

kasumiru commented Dec 5, 2022

old related: #8853

@kasumiru
Copy link
Author

kasumiru commented Dec 5, 2022

after this crush nextcloud going in to infinity cycle: "Sync conflict".. Checked files and again "Sync conflict".. and again..
1236 files cant check md5sum automatically.

image

@AlvaroBrey AlvaroBrey added the performance: misc lag, ANR, etc and rarer exceptions/errors that don't have their own labels label Dec 12, 2022
@kasumiru
Copy link
Author

maybe we can close this issue. I cant reproduce this. this my prone is died

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug performance: misc lag, ANR, etc and rarer exceptions/errors that don't have their own labels
Projects
None yet
Development

No branches or pull requests

2 participants