Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release tool "out of heap space" failure #149

Closed
andrew-m-leonard opened this issue Feb 12, 2024 · 1 comment · Fixed by #150
Closed

release tool "out of heap space" failure #149

andrew-m-leonard opened this issue Feb 12, 2024 · 1 comment · Fixed by #150
Assignees

Comments

@andrew-m-leonard
Copy link
Contributor

https://ci.adoptium.net/job/build-scripts/job/release/job/refactor_openjdk_release_tool/8197/

Uploading OpenJDK11U-debugimage_x64_mac_hotspot_11.0.23_2-ea.tar.gz.json
Uploading OpenJDK11U-sbom_aarch64_mac_hotspot_11.0.23_2-ea.json.sig
Uploading OpenJDK11U-testimage_s390x_linux_hotspot_11.0.23_2-ea.tar.gz
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3236)
	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
@andrew-m-leonard
Copy link
Contributor Author

andrew-m-leonard commented Feb 12, 2024

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.

The new jenkins_worker has jdk-21, so had to upgrade gradle to support that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant