-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
OutOfMemory Exception on 35MB File Upload #114
Comments
|
@quantum0813 I think the problem is exactly the same reported here. It's a bug in the old OkHttp implementation used by Android 4.4, which has been fixed, so try to switch the http stack as I've described and let me know. If you target multiple android versions, then I definitely advise you to do that, to have a consistent networking behaviour. |
Thanks for your quick reply. I have updated my app to use the OkHttp stack implementation. I'll do some more testing, and report back. |
@quantum0813 are your tests successful? |
Closing due to lack of feedback. Made some tests with the proposed solution, and the problem doesn't occur. Read this |
I am getting an OutOfMemory exception when trying to upload a 35MB file. This is occurring on a Samsung Galaxy S5 running Android 4.4.2. Here is the stack trace:
The text was updated successfully, but these errors were encountered: