I have got a memory issue due to the use of the zonal statistics command into a loop.
It seems that after using the ZS command QGIS stores some information in the RAM (cache memory?). It is not really an issue if you use it once but when it comes for a loop the memory capacity is quickly saturated and QGIS crashes.
Does anyone know where this information is kept and how I can get rid of it?
I already tried the command gc.enable()
without any results.