Skip to content

Fix ARM64 builds: increase JVM heap and apply memory optimizations#6755

Merged
istio-testing merged 1 commit into
release-1.29from
petrmc/fix-arm64-memory-final
Jan 12, 2026
Merged

Fix ARM64 builds: increase JVM heap and apply memory optimizations#6755
istio-testing merged 1 commit into
release-1.29from
petrmc/fix-arm64-memory-final

Conversation

@PetrMc
Copy link
Copy Markdown
Member

@PetrMc PetrMc commented Jan 12, 2026

Fixes ARM64 build failures by increasing JVM heap from 3GB to 4GB and applying Bazel memory optimization flags to all remote cache builds. The CI uses --remote_cache but not --config=remote-ci, so the optimization flags weren't being applied. This applies both fixes that were in #6726. Fixes #6752

Automation reverts envoy.bazelrc back to 3GB when syncing from upstream.
Add override in .bazelrc (which imports after envoy.bazelrc) to permanently
set heap to 4GB for ARM64 builds.

The 3GB limit causes memory pressure during large downloads which breaks
gRPC remote cache connections.
@PetrMc PetrMc requested a review from a team as a code owner January 12, 2026 22:10
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 12, 2026
@PetrMc PetrMc added cherrypick/master Set this label on a PR to auto-merge from a release branch to master release-notes-none Indicates a PR that does not require release notes. labels Jan 12, 2026
@istio-testing istio-testing merged commit ce3e66c into release-1.29 Jan 12, 2026
7 checks passed
@istio-testing istio-testing deleted the petrmc/fix-arm64-memory-final branch January 12, 2026 22:43
@istio-testing
Copy link
Copy Markdown
Collaborator

In response to a cherrypick label: new pull request created: #6756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherrypick/master Set this label on a PR to auto-merge from a release branch to master release-notes-none Indicates a PR that does not require release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants