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

pagedjs-cli generates large puppeteer temp files #2

Open
Malcolmnixon opened this issue Jul 30, 2024 · 0 comments
Open

pagedjs-cli generates large puppeteer temp files #2

Malcolmnixon opened this issue Jul 30, 2024 · 0 comments

Comments

@Malcolmnixon
Copy link

The pagedjs-cli utility is leaving ~7MB temporary files in our temp folder on every execution. We found it when we hit 75GB of temp files and ran out of disk space on a self-hosted build agent.

This appears to be a default of puppeteer (https://stackoverflow.com/questions/68674577/puppeteer-consuming-too-much-disk-space-with-temporary-files) but pagedjs-cli is running puppeteer and we don't appear to have any means of injecting the cache-cleaning additional command-line arguments.

It would be valuable to add a "--noCache" option to pagedjs-cli, which in turn would pass the cache-disabling options to puppeteer.

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

No branches or pull requests

1 participant