FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':App'.
> Failed to notify project evaluation listener.
> java.lang.OutOfMemoryError: PermGen space
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\" \"-Xmx1024m\" \"-Xms256m\" \"-XX:MaxPermSize=1024m\""
Initially I'd set the MaxPermSize to 512m, which was working for a while, and then one time I got another memory error and bumped it up to 1024m. Since then I haven't gotten any.
If there's a cleaner way I'd be curious to hear about it..