Skip to content

chore: calculate available memory for noir-projects/bootstrap.sh memsuspend#12419

Merged
ludamad merged 7 commits intomasterfrom
md/calculate-available-memory-for-memsuspend
Mar 3, 2025
Merged

chore: calculate available memory for noir-projects/bootstrap.sh memsuspend#12419
ludamad merged 7 commits intomasterfrom
md/calculate-available-memory-for-memsuspend

Conversation

@Maddiaa0
Copy link
Member

@Maddiaa0 Maddiaa0 commented Mar 3, 2025

Overview

Fixes hanging in devboxes

see: #12400 (comment)

@Maddiaa0 Maddiaa0 requested a review from charlielye as a code owner March 3, 2025 16:06
Copy link
Member Author

Maddiaa0 commented Mar 3, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

total_mem_gb=$(free -g | awk '/^Mem:/ {print $2}')
fi

echo $(( total_mem_gb < 64 ? total_mem_gb : 64 ))
Copy link
Member Author

@Maddiaa0 Maddiaa0 Mar 3, 2025

Choose a reason for hiding this comment

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

min(total_mem_gb, 64)

@Maddiaa0 Maddiaa0 requested a review from ludamad March 3, 2025 16:07
@ludamad ludamad enabled auto-merge (squash) March 3, 2025 17:06
@ludamad ludamad merged commit edb20f6 into master Mar 3, 2025
7 checks passed
@ludamad ludamad deleted the md/calculate-available-memory-for-memsuspend branch March 3, 2025 17:41
TomAFrench added a commit that referenced this pull request Mar 4, 2025
* master: (229 commits)
  feat: Sync from noir (#12315)
  fix: Only use debug logging for ENR mismatch (#12439)
  yolo upadate test pattern owners for kind tests
  fix: Don't exit on error when querying secret (#12438)
  fix: consolidate sepoliaETH job condition (#12437)
  chore: add `yq` to `bootstrap.sh check` (#12436)
  fix: ignition-testnet values & bot count (#12433)
  chore(archiver): l2proven number not required (#12424)
  chore: PXE oracle refactor (#12410)
  fix: txes handle sigint and sigterm, use dump fail to see any txe errors (#12427)
  git subrepo push --branch=master noir-projects/aztec-nr
  git_subrepo.sh: Fix parent in .gitrepo file. [skip ci]
  chore: replace relative paths to noir-protocol-circuits
  git subrepo push --branch=master barretenberg
  chore: set enrs and contract addresses in ignition-testnet (#12417)
  chore: reenable public teardown in orchestrator test (#12428)
  feat: add wasm mode for profiler (#12407)
  feat: contract instance/class cache for current tx - ensure that later txs in block cannot wipe out contracts created earlier (#12261)
  chore: pull out formatter changes from sync (#12426)
  chore: calculate available memory for noir-projects/bootstrap.sh memsuspend (#12419)
  ...
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.

2 participants