Skip to content

Commit

Permalink
CI: Adjust memory settings
Browse files Browse the repository at this point in the history
  • Loading branch information
famod committed Apr 13, 2021
1 parent 2aaa362 commit d4dec23
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
needs: build-jdk11
timeout-minutes: 240
env:
MAVEN_OPTS: -Xmx2048m -XX:MaxMetaspaceSize=1000m
MAVEN_OPTS: -Xmx2g -XX:MaxMetaspaceSize=1g
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
needs: build-jdk11
timeout-minutes: 180
env:
MAVEN_OPTS: -Xmx1408m -XX:MaxMetaspaceSize=1000m
MAVEN_OPTS: -Xmx2g -XX:MaxMetaspaceSize=1g

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -306,6 +306,8 @@ jobs:
linux-jvm-maven-tests:
name: Maven Tests - JDK ${{matrix.java.name}}
runs-on: ubuntu-latest
env:
MAVEN_OPTS: -Xmx2g -XX:MaxMetaspaceSize=1g
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
needs: build-jdk11
Expand Down Expand Up @@ -361,6 +363,8 @@ jobs:
windows-jdk11-jvm-maven-tests:
name: Maven Tests - JDK 11 Windows
runs-on: windows-latest
env:
MAVEN_OPTS: -Xmx2g -XX:MaxMetaspaceSize=1g
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
needs: build-jdk11
Expand Down Expand Up @@ -411,6 +415,9 @@ jobs:
gradle-tests-jdk11-jvm:
name: Gradle Tests - JDK 11 ${{matrix.os.family}}
runs-on: ${{matrix.os.name}}
env:
# leave more space for the actual gradle execution (which is just wrapped by maven)
MAVEN_OPTS: -Xmx1g
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
needs: build-jdk11
Expand Down Expand Up @@ -662,6 +669,9 @@ jobs:
name: Native Tests - ${{matrix.category}}
needs: [build-jdk11, native-tests-read-json-matrix]
runs-on: ubuntu-latest
env:
# leave more space for the actual native compilation and execution
MAVEN_OPTS: -Xmx1g
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
# Ignore the following YAML Schema error
Expand Down Expand Up @@ -732,6 +742,9 @@ jobs:
name: Native Tests - Windows - ${{matrix.category}}
needs: [build-jdk11, native-tests-read-json-matrix]
runs-on: windows-latest
env:
# leave more space for the actual native compilation and execution
MAVEN_OPTS: -Xmx1g
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
# Ignore the following YAML Schema error
Expand Down

0 comments on commit d4dec23

Please sign in to comment.