android.process.media issue Off late I have been seeing the android.process.media error frequently on my android device. Find the screenshot below containing the java.lang.OutOtMemoryError:



Not sure what causes this.

Some other observations:


Data usage by System Apps sees a 80% rise approximately
Most of the times this error pop-up comes up while launching apps.


What I have tried:


Cleared All data by going to Apps --> Google Services Framework
Opened Google Play Services from Apps --> Google Play Services
Cleared All data and Force stop Google Play services
Cleared All data and Force stop Google Services Framework
Device Reboot


It didn't work! I know there is an option to format the device. But I am wondering if there is a better way to do it.
The error clearly tries to write a JSON file and chokes on it. The question is now where the JSON file is located and to which app it belongs. 

My first guess would be to clear the data and cache of the system app "Media storage" (com.android.providers.media). Hopefully the JSON file belongs to this app and clearing the data resets it so that it can start again from zero size.

BTW: The "memory" here means RAM - not flash memory. Therefore clearing data/caches of unrelated apps will not help in this case.