diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2017-01-11 08:59:22 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2017-01-28 19:12:19 +0100 |
commit | 239a850f2d89a78e53386e3f9b8959be74bb9e65 (patch) | |
tree | abac39679bf717d8e136325a84ac8bf65246e7d1 /.drone.yml | |
parent | 57641b9c7447fa0a6f1f47352dffb4c56c560b6a (diff) | |
download | dotty-239a850f2d89a78e53386e3f9b8959be74bb9e65.tar.gz dotty-239a850f2d89a78e53386e3f9b8959be74bb9e65.tar.bz2 dotty-239a850f2d89a78e53386e3f9b8959be74bb9e65.zip |
.drone.yml: Give more resources to the JVM used by sbt
sbt runs up to `Runtime.getRuntime.availableProcessors` tasks in
parallel, on our CI that means 40 tasks, compilation tasks are the one
with the biggest footprint and the introduction of
`dotty-library-bootstrapped` and `dotty-compiler-bootstrapped` in this
PR means that sbt can now run more compilation tasks in parallel. To
prevent the JVM from exploding, we increase:
- The max heap size, from 1G to 4G
- The max code cache size, from 240M to 512M
- The max metaspace size, from 256M to 1G
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml index 96c5d0b54..9e646262f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ pipeline: commands: - ln -s /var/cache/drone/scala-scala scala-scala - ./scripts/update-scala-library - - sbt -Ddotty.drone.mem=4096m -ivy /var/cache/drone/ivy2 "${TEST}" + - sbt -J-Xmx4096m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m -Ddotty.drone.mem=4096m -ivy /var/cache/drone/ivy2 "${TEST}" matrix: TEST: |