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

Temporary data is not pruned #1004

Closed
denisdefreyne opened this issue Nov 30, 2016 · 4 comments
Closed

Temporary data is not pruned #1004

denisdefreyne opened this issue Nov 30, 2016 · 4 comments

Comments

@denisdefreyne
Copy link
Member

Nanoc does not remove unused entries from data files in the tmp/ directory.

These files tend to grow over time and will consume more and more memory, as they’re always fully loaded into memory.

@denisdefreyne
Copy link
Member Author

A solution that seems obvious to me at the moment is to not load data (checksums, compiled content, and dependencies) for items and layouts that don’t exist anymore.

denisdefreyne added a commit that referenced this issue Dec 17, 2016
Prune old data from compiled content cache
@denisdefreyne
Copy link
Member Author

#1013 fixes the issue for the compiled content cache. Checksums still need to be pruned. Dependencies are already taken care of.

@connorshea
Copy link

👏 thanks @ddfreyne :D

@denisdefreyne
Copy link
Member Author

Checksums are pruned as of #1027, so this issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants