I'm currently batch processing a bunch (~200 x 200MB) of ascii grid surfaces using some SAGA and GDAL algorithms in QGIS and have been running into "out of storage" errors. The issue is that between runs of the model, the /tmp folder fills up after 7-8 surfaces are processed. Performing an "rm -r /tmp/*" between runs clears up space to restart the model. The /tmp folder isn't abnormally small (4g).
I'm not sure how unorthodox it would be to have QGIS send a command between runs to clear the /tmp folder but I'm curious to know how this could be automated (perhaps in python?) to run at the end of a model run. Any other solutions for processing lots of grids would be welcome