-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Enormous amount of data getting stored in EC2 under .config/Cypress/cy/production/projects #29281
Comments
Hi @gkrishna08 , does this issue still occur with newer versions of Cypress? |
Hi @cacieprins, yes seeing the same issue on cypress 13.6.6 as well with more memory consumption compared to 9.7.0 as we enabled video recording and some logs.. |
This is the Cypress App Data which is used to store things like preferences. It should be safe for you to delete everything in the I know a lot of local state for cypress open is stored in there. I’m a little less sure of what the utility would be on a CI machine and whether we need to write data in that case. What’s the size of the folder? |
I see now this is a duplicate of #20435 I'll comment in there and close this as a duplicate. |
Hi @jennifer-shehane , In EC2 on each node daily it is storing around 2 to 2.5 GB, as we running multiple test cases and regressions daily. Is there any alternative apart from cleaning the folder or directory |
@gkrishna08 Ahh, that is a lot. If you're open to sharing what files these are or a screenshot, you can email to [email protected]. Looking at my App Data for many many projects, it's nowhere near that size, it's just minimal json and js files. |
Not sure exactly if it is there or not now, recently we enabled to clear that data after each run. Let me check and get back to you if anything is there in EC2. @jennifer-shehane |
@gkrishna08 Yah the screenshots, etc should not be in those directories. They would be in a cypress/screenshots directory that you could choose to cache on your machine on your own. |
Test code to reproduce
Not sure if it is the exact same issue, but on our CI machines (Jenkins) we see one issue
We also have this on our Linux machine
/home/builduser/.config/Cypress/cy/production/projects
I couldn't find any information about this. Are we doing something wrong causing these files to be generated? Tired cypress cache clear command but not useful in clearing the memory. Is this issue with cypress version or anything.
Should Cypress automatically clear this? Do we have to run a certain command to clear them?
Cypress Mode
cypress run
Cypress Version
9.7.0
Browser Version
Chrome 91
Node version
16.20.0
Operating System
Linux
Memory Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: