Skip to content

Commit

Permalink
[CI] Remove max heap size setting for maven builds on windows
Browse files Browse the repository at this point in the history
Don't restrict the maximum heap size of maven builds (other than for
native tests) to be consistent on how we build on linux and avoid OoM
errors.
  • Loading branch information
zakkak committed Apr 17, 2024
1 parent be76b8a commit aa6c8fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/base-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ env:
MX_PYTHON: python
QUARKUS_PATH: ${{ github.workspace }}\quarkus
MANDREL_PACKAGING_REPO: ${{ github.workspace }}\mandrel-packaging
MAVEN_OPTS: -Xmx2g -XX:MaxMetaspaceSize=1g
COLLECTOR_URL: https://collector.foci.life/api/v1/image-stats

jobs:
Expand Down Expand Up @@ -403,7 +402,9 @@ jobs:
- get-jdk
- get-test-matrix
runs-on: windows-2022
# env:
env:
# leave more space for the actual native compilation and execution
MAVEN_OPTS: -Xmx1g
# USE_NATIVE_IMAGE_JAVA_PLATFORM_MODULE_SYSTEM: false
# Ignore the following YAML Schema error
timeout-minutes: ${{matrix.timeout}}
Expand Down

0 comments on commit aa6c8fb

Please sign in to comment.