OutOfMemoryError in interceptor
See original GitHub issue📢 Describe the bug
This came to me from firebase crashlytics, i don’t know the reproduction steps
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 13536178 byte allocation with 5074056 free bytes and 4MB until OOM
at okio.Buffer.readByteArray(Buffer.java:1438)
at okio.Buffer.readString(Buffer.java:301)
at okio.Buffer.readString(Buffer.java:290)
at com.chuckerteam.chucker.api.ChuckerInterceptor.processResponseBody(ChuckerInterceptor.java:156)
at com.chuckerteam.chucker.api.ChuckerInterceptor.processResponse(ChuckerInterceptor.java:130)
at com.chuckerteam.chucker.api.ChuckerInterceptor.intercept(ChuckerInterceptor.java:61)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:112)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:87)
// rest of interceptors
💣 To Reproduce
I don’t know how to reproduce that
🔧 Expected behavior
Chucker should handle any payload size gracefully
📱 Smartphone
- Device: Galaxy A5 (2016)
- OS: 7.1.1
- Lib version: 3.1.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
OutofmemoryError while uploading a hugefile using cxf ...
Logginginterceptor is causing problem in my client's code. Once server resposes with the attachment, the attachment is placed in my memory ...
Read more >OutOfMemoryError: Java heap space after zwave on- ...
Hello there, I just migrated from OH2.5 to OH 3.1 on my RP4 with Openhabian and have everything up and running again.
Read more >java.lang.OutOfMemoryError and PermGen errors
Every day we get OutOfMemory and PermGen errors, and nobody seems to be able to solve them. ... at com.evermind.server.ejb.interceptor.system.
Read more >java.lang.OutOfMemoryError: Java heap space
I have a LC server working in a LInux 5.0 environment.it is a 64bit AMD and a 4GB RAM machine.All the required services...
Read more >java - Tomcat crashes again and again because of "Out ...
DefaultActionInvocation.invoke(DefaultActionInvocation.java:253) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have chucker on staging version for internal and external (clients) QA. It does not go into production itself
I believe that this is the same problem as in #263