GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
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.
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.
Merge pull request #1013 from nanoc/gh-1004-compiled-content-cache
Prune old data from compiled content cache
#1013 fixes the issue for the compiled content cache. Checksums still need to be pruned. Dependencies are already taken care of.
👏 thanks @ddfreyne :D
Checksums are pruned as of #1027, so this issue is resolved.