Skip to content

Add GC / release methods#536

Merged
daveshanley merged 4 commits intomainfrom
cachery
Feb 26, 2026
Merged

Add GC / release methods#536
daveshanley merged 4 commits intomainfrom
cachery

Conversation

@daveshanley
Copy link
Member

Adds a way to cleanly release all objects from memory.

After profiling long-running systems, we found that these elements can hold onto memory; we need a clean, consistent way to release it.

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.60%. Comparing base (b46b39b) to head (c4e35e5).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #536    +/-   ##
========================================
  Coverage   99.60%   99.60%            
========================================
  Files         193      193            
  Lines       24033    24164   +131     
========================================
+ Hits        23938    24069   +131     
  Misses         59       59            
  Partials       36       36            
Flag Coverage Δ
unittests 99.60% <100.00%> (+<0.01%) ⬆️

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.

Cascades down through the stack to release pointers, maps, caches and more. Completely free up any remaining objects being held onto.
@daveshanley daveshanley merged commit 5bdaf86 into main Feb 26, 2026
5 checks passed
@daveshanley daveshanley deleted the cachery branch February 26, 2026 22:10
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