I'm developing an Android app in Android Studio and today suddenly it doesn't compile when I press the "Run" button. The error is this:
Error:Execution failed for task ':app:packageInstantRunResourcesDebug'. Java heap space
I've tried cleaning the project and rebuilding it but it didn't work.