Skip to content

pass -g1 to limit memory pressure during CI - #5465

Merged
anupsdf merged 1 commit into
stellar:masterfrom
graydon:use-g1-debuginfo
Sep 19, 2026
Merged

anupsdf merged 1 commit into
stellar:masterfrom
graydon:use-g1-debuginfo

Conversation

@graydon

@graydon graydon commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

The gcc build in particular has been running out of RAM in our CI builder due to the 32-way parallelism. We could cut the parallelism but that would slow the build; this is a different option where we just reduce the fidelity of debuginfo a bit. It's still enough to get all the backtraces we need, just not some of the more intensive type and variable-tracking info. Shouldn't make much practical difference and reduces memory pressure by 30% on my machine.

Copilot AI balanced review requested due to automatic review settings September 18, 2026 23:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The compiler flags are valid; only minor capitalization fixes remain.

Review effort: Balanced
Findings: 2 Low severity

Open (2)
What changed in this PR

Reduces compiler memory pressure while retaining useful DWARF backtraces.

Changes:

  • Adds -g1 to default and CI compiler flags.
  • Documents the reduced debug-information level.
File Description
configure.ac Updates default debug flags.
ci-build.sh Updates CI debug flags.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ci-build.sh Resolved
Comment thread configure.ac Resolved
@anupsdf
anupsdf enabled auto-merge September 19, 2026 00:36
@anupsdf
anupsdf added this pull request to the merge queue Sep 19, 2026
Merged via the queue into stellar:master with commit 8917e6a Sep 19, 2026
70 checks passed
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 this pull request may close these issues.

3 participants