Quote:
Originally Posted by malexherron
I have been having issues downloading books from Google Drive library. I am able to log in and view new books as they are added to Calibre, however when I download a book I see the following errors in the logs:
Code:
2020-05-10 04:06:43.418: Cloud downloadFile: url=Gary Gygax/D&D 5e - Baldur's Gate - Descent into Avernus (516)/D&D 5e - Baldur's Gate - Descent into Aver - Gary Gygax.pdf, localLpath=D&D 5e - Baldur's Gate - Descent into Avernus - Gary Gygax.pdf
2020-05-10 04:07:07.454: google getFile
java.lang.OutOfMemoryError: Failed to allocate a 139927976 byte allocation with 25149440 free bytes and 53MB until OOM, max allowed footprint 170714096, growth limit 201326592
at java.lang.StringFactory.newStringFromBytes(StringFactory.java:81)
at java.lang.StringFactory.newStringFromBytes(StringFactory.java:209)
at okio.Buffer.readString(Buffer.kt:669)
at okio.Buffer.readString(Buffer.kt:658)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:264)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
at okhttp3.RealCall.execute(RealCall.kt:66)
at com.multipie.cclibrary.Cloud.Google.GoogleAPI.getFile(GoogleAPI.java:376)
at com.multipie.cclibrary.Cloud.BookDownloaderHelpers.downloadFile(BookDownloaderHelpers.java:39)
at com.multipie.cclibrary.Cloud.DownloadQueue$ServiceThread.run(DownloadQueue.java:123)
2020-05-10 04:07:07.457: Log flush
2020-05-10 04:07:07.644: FileManager: deleting book /storage/5DA6-BDE6/CalibreCompanion/D&D 5e - Baldur's Gate - Descent into Avernus - Gary Gygax.pdf, result true
2020-05-10 04:07:07.659: Download queue: try to download 511 D&D 5e - Lost Mine of Phandelver
2020-05-10 04:07:07.663: Cloud: download failed: D&D 5e - Baldur's Gate - Descent into Avernus
2020-05-10 04:07:07.740: checkLpathComponents started D&D 5e - Lost Mine of Phandelver - Gary Gygax w/URI=true
2020-05-10 04:07:07.926: checkLpathComponents finished D&D 5e - Lost Mine of Phandelver - Gary Gygax
2020-05-10 04:07:07.927: Cloud downloadFile: url=Gary Gygax/D&D 5e - Lost Mine of Phandelver (511)/D&D 5e - Lost Mine of Phandelver - Gary Gygax.pdf, localLpath=D&D 5e - Lost Mine of Phandelver - Gary Gygax.pdf
2020-05-10 04:07:39.066: google getFile
java.lang.OutOfMemoryError: Failed to allocate a 152330936 byte allocation with 25165824 free bytes and 40MB until OOM, max allowed footprint 184519848, growth limit 201326592
at okio.Buffer.readByteArray(Buffer.kt:817)
at okio.Buffer.readString(Buffer.kt:669)
at okio.Buffer.readString(Buffer.kt:658)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:264)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
at okhttp3.RealCall.execute(RealCall.kt:66)
at com.multipie.cclibrary.Cloud.Google.GoogleAPI.getFile(GoogleAPI.java:376)
at com.multipie.cclibrary.Cloud.BookDownloaderHelpers.downloadFile(BookDownloaderHelpers.java:39)
at com.multipie.cclibrary.Cloud.DownloadQueue$ServiceThread.run(DownloadQueue.java:123)
2020-05-10 04:07:39.071: Log flush
Seems like a memory issue? Is there anything I can do to assist this? I have tried moving the local storage from internal to SD and back again. Any thoughts are appreciated.
|
Hey,
Thanks for sending this in, let me take this back to our dev team and I'll get back to you.
Thanks,
Alex