Aaron He's blog
  • Home
  • Twitter
  • GitHub
Subscribe

Gradle

A collection of 1 post
Android

Use JDK 8 to prevent OOM during Gradle builds

Recently, I've run into OutOfMemoryError: PermGen space issue when building Gradle projects, especially with Kotlin. A common way to fix that is to increase the heap size for Gradle JVM, like adding org.gradle.jvmargs=-XX:MaxPermSize=512m to grade.properties. Actually, there's another simple way to fix the issue
Jan 27, 2016
Aaron He's blog © 2025
Powered by Ghost