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

archive cache is not freed after use #1108

Open
gdt opened this issue Jan 5, 2025 · 0 comments
Open

archive cache is not freed after use #1108

gdt opened this issue Jan 5, 2025 · 0 comments
Labels
defect unison fails to meet its specification (but doesn't crash; see also "crash") effort-medium issue is likely resolvable with <= 20h of effort impact-low low importance

Comments

@gdt
Copy link
Collaborator

gdt commented Jan 5, 2025

Memory management in an OS is complicated, generally involving both paging out process memory and freeing memory used for caching. There are generally not mechanisms to purge in-process caches. Unison keeps caches of the archive in repeat mode.

This is a defect ticket that retaining significant amounts of cache memory indefinitely is not ok. A fix would involve freeing it, perhaps after some minute-level interval (to be analzyzed), so that a quiescent unison process doesn't have large allocations.

@gdt gdt added defect unison fails to meet its specification (but doesn't crash; see also "crash") impact-low low importance effort-medium issue is likely resolvable with <= 20h of effort labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect unison fails to meet its specification (but doesn't crash; see also "crash") effort-medium issue is likely resolvable with <= 20h of effort impact-low low importance
Projects
None yet
Development

No branches or pull requests

1 participant