-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
Out of memory issue with large response #16
Comments
Can you provide a bit more details? How large is the response for example? Is it a response you are interested in? If not, you can add it to the blacklist to prevent it being stored on the client. |
this is what i recorded in crash log and response size was around 100MB com.icapps.niddler.util.Base64.encode java.lang.StringFactory.newStringFromChars StringFactory.java:218 |
Hmm yes, it is trying to serialize the body to a string form for storing/sending. In this case, you are dropping out because the string is at least 125MiB, which is excessive for storing things on mobile. I will ponder updates to the client library to prevent responses from running out of memory by truncating/omitting bodies if they are too long. This will need changes in the plugin as well to handle these scenarios. For now you should probably exclude the requests from being logged in niddler by adding the specific patterns/urls to the blacklist until I find a clean solution for this |
Out of memory issue with large response
The text was updated successfully, but these errors were encountered: