We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1G的文件下载到191 MB就会提示内存溢出,之后设置了禁止缓存还是一样。 setCacheControl(CacheControl.Builder().noStore().noCache().build()) // 完全禁止读取/写入缓存
可以完整下载1.1G的文件
fork仓库并复现问题可以快速解决, 猜测只会让问题晦涩难懂, 耽误所有人时间
异常堆栈信息或者手机截图/视频(拖拽到输入框即可上传)
The text was updated successfully, but these errors were encountered:
请fork仓库在demo中复现此问题
本框架直接调用的okhttp下载, 或者你可以试下搜索okhttp+问题描述来解决
Sorry, something went wrong.
问题来自使用了通知栏监听网络日志的拦截器导致,移除即可。 代码来自com.drake.net.sample.base.APP
// 通知栏监听网络日志 if (BuildConfig.DEBUG) { addInterceptor( ChuckerInterceptor.Builder(this@App) .collector(ChuckerCollector(this@App)) .maxContentLength(250000L) .redactHeaders(emptySet()) .alwaysReadResponseBody(false) .build() ) }
我给官方提了这个问题 Duplicate of ChuckerTeam/chucker#1068
No branches or pull requests
问题描述
1.1G的文件下载到191 MB就会提示内存溢出,之后设置了禁止缓存还是一样。
setCacheControl(CacheControl.Builder().noStore().noCache().build()) // 完全禁止读取/写入缓存
期望行为
可以完整下载1.1G的文件
如何复现
截图
异常堆栈信息或者手机截图/视频(拖拽到输入框即可上传)
版本
The text was updated successfully, but these errors were encountered: