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
ddfreyne opened this issue Nov 30, 2016 · 4 comments
Closed

Temporary data is not pruned #1004

ddfreyne opened this issue Nov 30, 2016 · 4 comments

Comments

@ddfreyne
Copy link
Member

@ddfreyne ddfreyne commented Nov 30, 2016

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.

@ddfreyne
Copy link
Member Author

@ddfreyne ddfreyne commented Dec 8, 2016

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.

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

@ddfreyne ddfreyne commented Dec 17, 2016

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

@connorshea
Copy link

@connorshea connorshea commented Dec 18, 2016

👏 thanks @ddfreyne :D

@ddfreyne
Copy link
Member Author

@ddfreyne ddfreyne commented Dec 21, 2016

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

@ddfreyne ddfreyne closed this Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants