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

Heap allocation error #14383

Open
GerFr opened this issue Jan 12, 2025 · 3 comments
Open

Heap allocation error #14383

GerFr opened this issue Jan 12, 2025 · 3 comments
Labels
bug performance: OOM 🧠 Out of memory errors / OutOfMemoryError stable-3.30

Comments

@GerFr
Copy link

GerFr commented Jan 12, 2025

Cause of error

Exception in thread "Thread-45" java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 2144784 free bytes and 2094KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
    at org.apache.jackrabbit.webdav.xml.Namespace.getNamespace(Namespace.java:50)
    at org.apache.jackrabbit.webdav.property.DavPropertyName.createFromXml(DavPropertyName.java:119)
    at org.apache.jackrabbit.webdav.property.DefaultDavProperty.createFromXml(DefaultDavProperty.java:124)
    at org.apache.jackrabbit.webdav.MultiStatusResponse.createFromXml(MultiStatusResponse.java:463)
    at org.apache.jackrabbit.webdav.MultiStatus.createFromXml(MultiStatus.java:185)
    at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.processResponseBody(DavMethodBase.java:282)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1749)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:192)
    at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.run(ReadFolderRemoteOperation.java:62)
    at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193)
    at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:431)
    at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:249)
    at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
    at java.lang.Thread.run(Thread.java:1012)

App information

  • ID: com.nextcloud.android.beta
  • Version: 20250103
  • Build flavor: versionDev

Device information

  • Brand: samsung
  • Device: a53x
  • Model: SM-A536B
  • Id: UP1A.231005.007
  • Product: a53xnaeea

Firmware

  • SDK: 34
  • Release: 14
  • Incremental: A536BXXUDEXK3
@GerFr
Copy link
Author

GerFr commented Jan 12, 2025

While trying to upload ~14k images

@tobiasKaminsky
Copy link
Member

Have you uploaded all of them to the same folder?
Does this crash also happen when you open the folder to show its content?

@GerFr
Copy link
Author

GerFr commented Jan 14, 2025

Have you uploaded all of them to the same folder?

Yes

Does this crash also happen when you open the folder to show its content?

Not when I tried, it only slows down and one has to press wait alot.

It happened as I looked at the uploads. But it only happened once.

@joshtrichards joshtrichards added performance: OOM 🧠 Out of memory errors / OutOfMemoryError stable-3.30 labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug performance: OOM 🧠 Out of memory errors / OutOfMemoryError stable-3.30
Projects
None yet
Development

No branches or pull requests

3 participants