[GRASS-user] Lack of memory importing .shp file

Rich Shepard rshepard at appl-ecosys.com
Thu Sep 28 15:05:36 PDT 2017


On Thu, 28 Sep 2017, Markus Metz wrote:

> The update interval of top might be too long to show the amount of memory
> consumed in the last split seconds.

Markus,

   True.

> I suggest to use v.in.ogr instead of v.import because v.import snaps by
> default which consumes a lot of memory and takes a long time.

   Will do.

> If v.in.ogr suggests snapping, you can set the environment variable
> GRASS_VECTOR_LOWMEM=1 to reduce memory consumption. This will slow down
> the import because temporary data will be kept on disk instead of in
> memory.

   The time doesn't matter because I have other things to do while v.in.ogr
is chewing on the file.

Many thanks,

Rich



More information about the grass-user mailing list