Opened 11 years ago

Closed 11 years ago

#1399 closed defect (invalid) fills up all available hard drive space when region is not set

Reported by: Stephan66 Owned by: grass-dev@…
Priority: normal Milestone: 6.4.2
Component: Vector Version: 6.4.1 RCs
Keywords: Cc:
CPU: Unspecified Platform: Linux


When is called and no region has been set (i.e. using g.region), it will fill up all available storage space in my grassdata directory (~ 130 GB in just a few minutes....).

System: openSuSE 11.4 (x86_64) Packages installed from OBS:

gdal 1.8.0-27.3 gpsbabel 1.4.2-16.1 grass 6.4.1-1.14 grass-docs 6.4.1-1.14 libgdal-grass 1.4.3-15.17 libgdal1 1.8.0-27.3 libgeoclue0 0.12.0-6.1 libgeos0 libgeotiff2 libnetcdf4 4.0.1-17.1 libopenjpeg2_0 libproj0 libqwt5 5.2.1-3.11 ( libspatialite1 2.3.1-5.1 netcdf 4.0.1-17.1 proj4 python-gdal 1.8.0-27.3 python-numpy 1.5.1-17.2 qgis 1.7.0-2.1 qgis-plugin-grass 1.7.0-2.1

Change History (4)

comment:1 by martinl, 11 years ago

Component: DefaultVector
Keywords: added
Milestone: 6.4.2

comment:2 by marisn, 11 years ago

There's always a region. Please run g.region -p and report results here.

comment:3 by Stephan66, 11 years ago

g.region -p

projection: 99 (sterea) zone: 0 datum: rd18 ellipsoid: a=6377397.155 es=0.006674372231802145 north: 363600 south: 0 west: 0 east: 202600 nsres: 1 ewres: 1 rows: 363600 cols: 202600 cells: 73665360000

comment:4 by marisn, 11 years ago

Resolution: invalid
Status: newclosed

I'm sorry. just does what You have ordered. It would create a raster with 73665360000 cells, that would take approx. 550 Gb of RAM/disk (rough calculation without taking into account any compression or overhead). Next time just check Your region settings before performing any analysis.

Note: See TracTickets for help on using tickets.