[Qgis-user] G_realloc error

Ivan Mincik ivan.mincik at gista.sk
Wed Jan 11 04:09:02 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/11/2012 12:20 PM, Tilottama Ghosh wrote:
> Hi,
> 
> I have been trying to convert a shapefile which was created in quantum GIS
> to a GRASS vector file using the GRASS tool 'v.in.ogr'.  After completing
> about 58% of the conversion I am getting the error message - 'G_realloc:
> unable to allocate 44520000 bytes at dbfexe.C:224'. The shapefile is pretty
> big - around 1.19 GB. It is a 1km2 graticule covering the expanse of a
> country. I am using Quantum GIS 1.7.2. The software is installed in Windows
> 7 Professional, 32 bit operating system with installed memory of 4 GB.
> 
> How can I increase the allocated memory while running the GRASS tool
> v.in.ogr? I was thinking of tiling the vactor file?! Any suggestions to
> solve this problem will be greatly appreciated.

In Your case, You can split shapefile to smaller pieces.

- -- 
Ivan Mincik, Gista s.r.o.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk8Ne90ACgkQVqso/9cUsCyXPwCfZHc9z5pDjtNACczBPHNnrmod
AgYAoMnw+l7g5BbNxDb62RdnQEp+GsBR
=hO0I
-----END PGP SIGNATURE-----



More information about the Qgis-user mailing list