android icon indicating copy to clipboard operation
android copied to clipboard

`OutOfMemoryError: Failed to allocate` in `GetStatusRemoteOperation`

Open lazy-pupp opened this issue 6 months ago • 0 comments

Cause of error

Exception in thread "Operations thread" java.lang.OutOfMemoryError: Failed to allocate a 206515904 byte allocation with 25165824 free bytes and 152MB until OOM, target footprint 133607288, growth limit 268435456
    at java.lang.StringFactory.newStringFromBytes(StringFactory.java:96)
    at java.lang.StringFactory.newStringFromBytes(StringFactory.java:75)
    at org.apache.commons.httpclient.util.EncodingUtil.getString(EncodingUtil.java:164)
    at org.apache.commons.httpclient.util.EncodingUtil.getString(EncodingUtil.java:187)
    at org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:806)
    at com.owncloud.android.lib.resources.status.GetStatusRemoteOperation.tryConnection(GetStatusRemoteOperation.java:94)
    at com.owncloud.android.lib.resources.status.GetStatusRemoteOperation.run(GetStatusRemoteOperation.java:187)
    at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193)
    at com.owncloud.android.operations.GetServerInfoOperation.run(GetServerInfoOperation.java:67)
    at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193)
    at com.owncloud.android.services.OperationsService$ServiceHandler.nextOperation(OperationsService.java:437)
    at com.owncloud.android.services.OperationsService$ServiceHandler.handleMessage(OperationsService.java:400)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.os.HandlerThread.run(HandlerThread.java:67)

App information

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

Device information

  • Brand: samsung
  • Device: a12
  • Model: SM-A125F
  • Id: SP1A.210812.016
  • Product: a12nseea

Firmware

  • SDK: 31
  • Release: 12
  • Incremental: A125FXXS5CXE3

lazy-pupp avatar Aug 11 '24 22:08 lazy-pupp