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
java.lang.OutOfMemoryError
pthread_create (1040KB stack) failed: Try again
出错堆栈:
java.lang.Thread.nativeCreate(Native Method)
java.lang.Thread.start(Thread.java:733)
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:975)
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1393)
okhttp3.RealCall$AsyncCall.executeOn(RealCall.java:154)
okhttp3.Dispatcher.promoteAndExecute(Dispatcher.java:204)
okhttp3.Dispatcher.enqueue(Dispatcher.java:144)
okhttp3.RealCall.enqueue(RealCall.java:93)
com.lzy.okgo.cache.policy.BaseCachePolicy.requestNetworkAsync(BaseCachePolicy.java:129)
com.lzy.okgo.cache.policy.NoCachePolicy$3.run(NoCachePolicy.java:85)
android.os.Handler.handleCallback(Handler.java:873)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loop(Looper.java:224)
android.app.ActivityThread.main(ActivityThread.java:7139)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
有大佬遇到过这个OOM吗,请大神指教,作者看到的话也请协助解决一下
The text was updated successfully, but these errors were encountered:
日志打印不要打印Body, 因为当Body是文本的时候, 会将Body全量读取再打印, 非常容易OOM
Sorry, something went wrong.
No branches or pull requests
java.lang.OutOfMemoryError
pthread_create (1040KB stack) failed: Try again
出错堆栈:
java.lang.Thread.nativeCreate(Native Method)
java.lang.Thread.start(Thread.java:733)
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:975)
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1393)
okhttp3.RealCall$AsyncCall.executeOn(RealCall.java:154)
okhttp3.Dispatcher.promoteAndExecute(Dispatcher.java:204)
okhttp3.Dispatcher.enqueue(Dispatcher.java:144)
okhttp3.RealCall.enqueue(RealCall.java:93)
com.lzy.okgo.cache.policy.BaseCachePolicy.requestNetworkAsync(BaseCachePolicy.java:129)
com.lzy.okgo.cache.policy.NoCachePolicy$3.run(NoCachePolicy.java:85)
android.os.Handler.handleCallback(Handler.java:873)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loop(Looper.java:224)
android.app.ActivityThread.main(ActivityThread.java:7139)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
有大佬遇到过这个OOM吗,请大神指教,作者看到的话也请协助解决一下
The text was updated successfully, but these errors were encountered: