<div dir="ltr"><br><br>On Wed, Jun 20, 2018 at 1:30 PM, Paul Shapley <<a href="mailto:p.shapley@gmail.com">p.shapley@gmail.com</a>> wrote:<br>><br>> Hi Users,<br>><br>> Apologies if i'm posting this error again but i need to get pass the memory allocation issue of trying to allocate 3gb memory. The Grass version is (using file r.contour). Processor has 32 gb ram and i've allocated 30000 mb under memory option of 'i.segment'. <br>><br>> System Info                                                                     <br>> GRASS version: 7.4.1                                                            <br>> GRASS SVN revision: r72807                                                      <br>> Build date: 2018-06-13                                                          <br>> Build platform: i386-w64-mingw32                                                <br>> GDAL: 2.2.4                                                                     <br>> PROJ.4: 4.9.3                                                                   <br>> GEOS: 3.5.0                                                                     <br>> SQLite: 3.17.0                                                                  <br>> Python: 2.7.4                                                                   <br>> wxPython: 2.8.12.1                                                              <br>> Platform: Windows-2008ServerR2-6.1.7601-SP1 (OSGeo4W)                           <br>>                                                                                 <br>><br>> ERROR: G_malloc: unable to allocate 2995426350 bytes of memory at imagery/i.segment/flag.c:25<br><div><br></div><div>this error appears because all other memory has already been allocated, there is less than 3 GB free RAM left.</div><div><br></div><div>It seems that the current region has more than 20 billion grid cells. Does this match the input to i.segment? You might want to check the current region settings and compare them with extents and resolution as reported by <a href="http://r.info">r.info</a> on the input to i.segment.</div><div><br></div><div>Please provide the output of g.region -p and <a href="http://r.info">r.info</a> if you want more detailed help.</div><div><br></div><div>Markus M</div><div><br></div><div>></div>> --<br>> Paul J. Shapley MSc CGeog (GIS) FRGS<br>><br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div>