We get an OutOfMemory error inside the Volley library when parsing a network response. This happens with great responses to shitty phones. Can this be avoided? Is there a way to tell Voleil so he can analyze the answers in batches, maybe?
Here's the exception:
07-18 14:33:41.449 6130-6154/com.tinder E/AndroidRuntime: FATAL EXCEPTION: Thread-22 java.lang.OutOfMemoryError at java.lang.String.<init>(String.java:325) at java.lang.String.<init>(String.java:276) at com.android.volley.toolbox.JsonObjectRequest.parseNetworkResponse(JsonObjectRequest.java:66) at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:116)
This happens on Droid X (2.3.4).
source share