Reduced the required memory for Gradle.