heap sizeを http://stackoverflow.com/questions/25555538/android-gradle-lintvital-outofmemoryerror-crashes-build を参考にして修正