We have a GitHub action that runs verifyPlugin on changes, and I found that these were failing due to out of memory errors because we are running verify for 3 versions of the IntelliJ platform. I tried to delete IDE downloads in between verifications, but this required some code to perform file deletion (that only partially works) and calling verifyPlugin on each version sequentially from a bash script. (More context in Reduce memory use of verify bot by deleting IDEs after verify by helin24 · Pull Request #8637 · flutter/flutter-intellij · GitHub)
I’m wondering if others have run into this problem and found more graceful ways to do this?
Ah yes, by memory I’m referring to storage space; sorry for the confusion.
I’m not sure why /dev/root is almost full! That’s also a mystery to me. I suppose I could do some further printing of what’s in there and how much memory it’s taking. I can try out turning off caching. It sounds like there are multiple types of gradle caches though; do you know what kinds of things gradle caches that could be taking up storage space in this situation?