From 239a850f2d89a78e53386e3f9b8959be74bb9e65 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Wed, 11 Jan 2017 08:59:22 +0100 Subject: .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 --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.drone.yml') 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: -- cgit v1.2.3