adoptium / github-release-scripts

Scripts for release artefacts to GitHub releases
Apache License 2.0
6 stars 20 forks source link

Increase release tool java max heap size #150

Closed andrew-m-leonard closed 7 months ago

andrew-m-leonard commented 7 months ago

Fixes https://github.com/adoptium/github-release-scripts/issues/149

When a large number of artifacts need to be published for a nightly beta build, the heap runs out of space. Increase max heap setting of gradle app to 2g and upgrade to running under jdk-21

andrew-m-leonard commented 7 months ago

After much debugging, found the correct way of setting the gradle application JVM options via the Application plugin settings in the build.gradle It does however need a large 2g heap to succeed for the failing jdk11u publishes.

andrew-m-leonard commented 7 months ago

Successfull publish of jdk11u which was failing before: https://ci.adoptium.net/job/build-scripts/job/release/job/refactor_openjdk_release_tool/8226/