<div dir="ltr">Sadly this is a known problem that we have not been able to find a solution to. <a href="https://github.com/qgis/QGIS/issues/53806">https://github.com/qgis/QGIS/issues/53806</a><div>It does not seem to matter the size of the raster or vector layer.</div><div>Anecdotally- I have not noticed it with the most recent version (3.40.3) of QGIS yet. </div><div> </div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Jun 5, 2025 at 9:42 AM Lorenzo Moretti via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
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.<br>
My model is very simple:<br>
in INPUT there is a raster file and a vector file.The working sequence is this:<br>
- the vector file is converted to a raster file with an extension equal to the INPUT raster file;<br>
- in the converted raster all nodata values are converted to the value zero (with FILLNodata);<br>
- output is the converted raster file with an integer value. The Data Type is Int16.<br>
<br>
In the model there are 5 algorithms with 2 files in INPUT and 1 file in OUTPUT.<br>
In a few seconds I have the result.<br>
<br>
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.<br>
Batch Processing is very powerful and allows this kind of work. A very simple Model repeated many times.<br>
I used it in macOS and Linux Ubuntu and managed to create even 2200 files in a few minutes: the model worked 2200 times.<br>
<br>
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.<br>
<br>
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.<br>
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?<br>
The raster area is not large and the final raster file is usually small, about 20 MB.<br>
Batch Processing only works for a few times and then stops.<br>
Can anyone help me with this?<br>
<br>
Thanks<br>
<br>
Lorenzo<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">___________________________<br><div dir="ltr"><span>Sebastian "Bas* " Gutwein</span></div><div><span><span>*rhymes with Josh <br></span></span></div><div><span><span><br></span></span></div>Regenerative Design Group<br>1 Chevalier Ave<br>Greenfield, Ma 01301<br>Web: <a href="http://regenerativedesigngroup.com" target="_blank">regenerativedesigngroup.com</a><br>(631) 241-1018<br><br><div dir="ltr"><i><span><span>Look close, think big, make change. </span></span></i></div><div dir="ltr"><span></span></div></div></div>