Update SETUP.md

This commit is contained in:
Nicolas Glassey 2021-01-23 18:45:49 +01:00 committed by GitHub
parent bf093a7927
commit 68271956db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -105,3 +105,12 @@ This is handy if one wants to make changes both to files app and library:
- sync project with gradle files
Now every change in library can be directly used in files app.
### 6. Troubleshooting
#### 1. Compilation fails with "java.lang.OutOfMemoryError: Java heap space" error
The default settings for Gradle is to limit the compilation to 1GB of heap.
You can increase that value by :
- adding `org.gradle.jvmargs=-Xmx4G` to `gradle.properties`
- running gradlew(.bat) with this command line : `GRADLE_OPTS="-Xmx4G" ./gradlew clean build"