Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event retention #60

Merged
merged 6 commits into from
Jan 11, 2025
Merged

Event retention #60

merged 6 commits into from
Jan 11, 2025

Conversation

kxxt
Copy link
Owner

@kxxt kxxt commented Jan 7, 2025

  • Use Arc<str> instead of arcstr::ArcStr so that we get a weak count for doing garbage collection
  • Use weak table for garbage collection
  • Add max_events option/config for event retention
  • Don't keep stale process states in tracer.

@kxxt kxxt changed the title Free memory when strings expire Event retention Jan 11, 2025
@kxxt kxxt marked this pull request as ready for review January 11, 2025 11:12
@kxxt kxxt merged commit 2be93df into main Jan 11, 2025
11 checks passed
@kxxt kxxt deleted the string-cache branch January 21, 2025 01:30
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