user3744384 user3744384 - 1 year ago 73
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
- tools
- platform-tools
- build-tools-23.0.2
- android-23

Answer Source

I solved it.

I changed my .travis.yml file adding:

- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download