-2
java.lang.OutOfMemoryError:Failed to allocate a 1631415409byte allocation with 2474340 free bytes and 380 MB until OOM
        at com.android.volley.toolbox.DiskBasedCache.streamToBytes(DiskBasedCache.java:316)
        at com.android.volley.toolbox.DiskBasedCache.readString(DiskBasedCache.java:526)
        at com.android.volley.toolbox.DiskBasedCache.readStringStringMap(DiskBasedCache.java:548)

Mainfest.xml

  <application
        android:name=".globalexceptionhandler.MyApp"
        android:allowBackup="true"
        android:hardwareAccelerated="false"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:largeHeap="true"
        android:persistent="true"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
John Joe
  • 11,400
  • 14
  • 56
  • 120
Ashik Azeez
  • 386
  • 4
  • 8

1 Answers1

-1

Try using the latest version of Volley. Issue seems to be fixed in https://github.com/google/volley/issues/12.

compile 'com.android.volley:volley:1.1.0'

Gokul Nath KP
  • 14,745
  • 24
  • 85
  • 122