Skip to content

Relieve memory in unit tests#5428

Merged
simone-silvestri merged 1 commit intomainfrom
ss/relieve-memory-tests
Mar 26, 2026
Merged

Relieve memory in unit tests#5428
simone-silvestri merged 1 commit intomainfrom
ss/relieve-memory-tests

Conversation

@simone-silvestri
Copy link
Copy Markdown
Collaborator

It looks like we have random OOM in unit tests:
https://buildkite.com/clima/oceananigans/builds/30298#019d254a-8b65-4bdd-8d81-1a7d63c0450a

It might be because of accumulated memory in the Unit tests, so in this PR I am just adding a simple GC.gc() and reducing the size of the largest dimension interpolations

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.01%. Comparing base (85ba915) to head (2cf16d7).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5428   +/-   ##
=======================================
  Coverage   74.01%   74.01%           
=======================================
  Files         400      400           
  Lines       22875    22875           
=======================================
  Hits        16930    16930           
  Misses       5945     5945           
Flag Coverage Δ
buildkite 68.89% <ø> (ø)
julia 68.89% <ø> (ø)
reactant_unit 3.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@simone-silvestri simone-silvestri merged commit dde10f8 into main Mar 26, 2026
70 checks passed
@simone-silvestri simone-silvestri deleted the ss/relieve-memory-tests branch March 26, 2026 08:51
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.

1 participant