[Gdal-dev] v.in.ogr memory leak?

Frank Warmerdam warmerdam at pobox.com
Thu Mar 2 15:44:03 EST 2006


Jonathan Greenberg wrote:
> I was running v.in.ogr on grass61 (cygwin) on a shapefile that has a ~200mb
> .shp file and a ~ 2gb .dbf file, and I watched in horror as my memory usage
> his about 1.5 gb and shortly thereafter got an out-of-memory error (so the
> import failed).  Have newer version of gdal/ogr solved this problem (since
> I'm using cygwin, I'm hesitant to try a compile 'lest I break a currently
> working grass install).

Jonathan,

You seem to be assuming the leak is in OGR not v.in.ogr itself or even
the grass libraries!

You might want to try an ogr2ogr on the same file and see what happens.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list