user3744384 user3744384 - 5 months ago 15
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

I solved it.

I changed my .travis.yml file adding:

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