user3744384 user3744384 - 1 year ago 37
Android Question

travis ci build failing - cause: PermGen space

I created a android application with Kotlin and I added Travis CI support in the repo.
The build is always failing.

Cause: PermGen space

What does it mean? My .travis.yml file is

language: android
android:
components:
- tools
- platform-tools
- build-tools-23.0.2
- android-23

Answer Source

I solved it.

I changed my .travis.yml file adding:

env:
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"