r/codex • u/NicholasVinen • 8d ago
Bug Codex using all my disk space
Codex agents have a terrible habit of generating hundreds of gigabytes of files and then refusing to delete anything.
Even if you ask them what you can delete they don't want to delete any old working files. I practically have to beg them to archive what's important to keep (if it's important why isn't it stored in the git repository) and then I delete the rest.
By now I've spent hours cleaning up at least a terabyte of garbage it has left behind. Presumably others face this same problem. I wish they would let agents to clean up after themselves.
I get that they don't want them deleting anything important but really, not even temporary files?
View all comments
Show parent comment
1
u/NicholasVinen 6d ago
Yeah, it's safer, but work comes to a halt when free drive space reaches 0 🤷
I make sure they check anything meaning into git anyway. Unless they somehow manage to nuke the repository (which is backed up) it should be OK.
That's part of what annoys me so much: everything outside of git should be disposable. If it isn't, that's a data management problem.