Sadly this is a known problem that we have not been able to find a solution to. https://github.com/qgis/QGIS/issues/53806 It does not seem to matter the size of the raster or vector layer. Anecdotally- I have not noticed it with the most recent version (3.40.3) of QGIS yet.
On Thu, Jun 5, 2025 at 9:42 AM Lorenzo Moretti via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi > > I have developed several models in Model Designer and I am using them in > QGIS in different platforms. I am having a really strange problem > especially in the Windows version of QGIS. > My model is very simple: > in INPUT there is a raster file and a vector file.The working sequence is > this: > - the vector file is converted to a raster file with an extension equal to > the INPUT raster file; > - in the converted raster all nodata values are converted to the value > zero (with FILLNodata); > - output is the converted raster file with an integer value. The Data Type > is Int16. > > In the model there are 5 algorithms with 2 files in INPUT and 1 file in > OUTPUT. > In a few seconds I have the result. > > All this, however, is done in Batch Processing and in INPUT all the vector > files in a directory are taken. The number of these files may be tens, > hundreds or thousands. > Batch Processing is very powerful and allows this kind of work. A very > simple Model repeated many times. > I used it in macOS and Linux Ubuntu and managed to create even 2200 files > in a few minutes: the model worked 2200 times. > > The problem, however, came up in the Windows version. Basically Batch > Processing at some point stops completely randomly, for example after 38 > processes or after 54 and so on. The model does not exit but stays put and > does not start again. > > I have tried and tried again in different computers but the result is the > same. In Windows, the program stops after running only a few models > completely randomly. > I don't understand the source of the problem: is it the memory? Or is it > in Windows to clear the cache during the various steps? > The raster area is not large and the final raster file is usually small, > about 20 MB. > Batch Processing only works for a few times and then stops. > Can anyone help me with this? > > Thanks > > Lorenzo > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > -- ___________________________ Sebastian "Bas* " Gutwein *rhymes with Josh Regenerative Design Group 1 Chevalier Ave Greenfield, Ma 01301 Web: regenerativedesigngroup.com (631) 241-1018 *Look close, think big, make change. *
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer