You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a client.chunkedUpload i guess we also need a client.chunkedDownload
馃憥 Actual Behavior
Throws java.lang.OutOfMemoryError:
AndroidRuntime E FATAL EXCEPTION: OkHttp Dispatcher
E java.lang.OutOfMemoryError: Failed to allocate a 268435472 byte allocation with 6275072 free bytes and 124MB until OOM, target footprint 143753320, growth limit 268435456
E at java.util.Arrays.copyOf(Arrays.java:3161)
E at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
E at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
E at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
E at kotlin.io.ByteStreamsKt.copyTo(IOStreams.kt:108)
E at kotlin.io.ByteStreamsKt.copyTo$default(IOStreams.kt:103)
E at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:136)
E at io.appwrite.Client$awaitResponse$2$1.onResponse(Client.kt:511)
E at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
E at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E at java.lang.Thread.run(Thread.java:919)
馃幉 Appwrite version
Version 1.4.x
馃捇 Operating system
Linux
馃П Your Environment
Appwrite 1.4.5
sdk-for-android:4.0.0
馃憖 Have you spent some time to check if this issue has been raised before?
馃憻 Reproduction steps
Download a big file (1GB) with
getFileDownload
馃憤 Expected behavior
It should download the file.
There is a
client.chunkedUpload
i guess we also need aclient.chunkedDownload
馃憥 Actual Behavior
Throws java.lang.OutOfMemoryError:
馃幉 Appwrite version
Version 1.4.x
馃捇 Operating system
Linux
馃П Your Environment
Appwrite 1.4.5
sdk-for-android:4.0.0
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: