<p dir="ltr">Maybe, instead of throwing a memory error, grass could check the region size and if the number of cells is too high, ask for user confirmation or suggest how the user can change the region. <br>
</p>
<div class="gmail_quote">On Sep 5, 2014 11:10 PM, "Markus Neteler" <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Sep 6, 2014 at 1:50 AM, christophe joey<br>
<<a href="mailto:christophe0joey@gmail.com">christophe0joey@gmail.com</a>> wrote:<br>
> thank you daniel victoria.<br>
> in the options i had by default rows = 4000 so i reduce it.<br>
<br>
I think we should develop some "magic" to better decide how many rows<br>
are processed in v.to.rast in parallel.<br>
Suggestions?<br>
<br>
It also affects v.rast.stats which internally calls v.to.rast.<br>
<br>
Markus<br>
</blockquote></div>