[FWTools] Out of Memory error CPLCalloc()
Travis Kirstine
tkirstine at jdbarnes.com
Fri Mar 2 10:29:36 EST 2007
I've been having problems with reading of .dem and .flt raster with FWTools
1.2 with both linux and windows (see below). To see if the problem was at
my end I unistalled FWTools and reinstalled a older version that was working
before and things seemed to work fine (FWTools 1.0.04a).
----Windows----
L:\MNR_wrip_data\dvd1\dem_zone17south\tile108>gdalinfo --version
GDAL 1.4.0.0, FWTools 1.2.2, released 2007/02/22
L:\MNR_wrip_data\dvd1\dem_zone17south\tile108>gdalinfo -mm dem108c_w.flt
Driver: EHdr/ESRI .hdr Labelled
Size is 7048, 5070
Coordinate System is:
PROJCS["UTM Zone 17, Northern Hemisphere",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AXIS["Lat",NORTH],
AXIS["Long",EAST],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-81],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["METERS",1]]
Origin = (434740.000000000000000,5025720.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Corner Coordinates:
Upper Left ( 434740.000, 5025720.000) ( 81d50'0.85"W, 45d22'55.03"N)
Lower Left ( 434740.000, 4975020.000) ( 81d49'36.99"W, 44d55'32.22"N)
Upper Right ( 505220.000, 5025720.000) ( 80d55'59.96"W, 45d23'5.91"N)
Lower Right ( 505220.000, 4975020.000) ( 80d56'1.86"W, 44d55'42.93"N)
Center ( 469980.000, 5000370.000) ( 81d22'54.95"W, 45d 9'22.21"N)
Band 1 Block=7048x1 Type=Byte, ColorInterp=Undefined
ERROR 2: CPLCalloc(): Out of memory allocating -880 bytes.
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
--Linux--
[kt01 at synraid1 /home/share1/MNR_wrip_data/dvd1/dem_zone17south/tile108]$
gdalinfo --version
GDAL 1.4.0.0, FWTools 1.2.0, released 2007/02/06
[kt01 at synraid1 /home/share1/MNR_wrip_data/dvd1/dem_zone17south/tile108]$
gdalinfo -mm dem108c_w.flt
Driver: EHdr/ESRI .hdr Labelled
Size is 7048, 5070
Coordinate System is:
PROJCS["UTM Zone 17, Northern Hemisphere",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AXIS["Lat",NORTH],
AXIS["Long",EAST],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-81],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["METERS",1]]
Origin = (434740.000000000000000,5025720.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Corner Coordinates:
Upper Left ( 434740.000, 5025720.000) ( 81d50'0.85"W, 45d22'55.03"N)
Lower Left ( 434740.000, 4975020.000) ( 81d49'36.99"W, 44d55'32.22"N)
Upper Right ( 505220.000, 5025720.000) ( 80d55'59.96"W, 45d23'5.91"N)
Lower Right ( 505220.000, 4975020.000) ( 80d56'1.86"W, 44d55'42.93"N)
Center ( 469980.000, 5000370.000) ( 81d22'54.95"W, 45d 9'22.21"N)
Band 1 Block=7048x1 Type=Byte, ColorInterp=Undefined
ERROR 2: CPLCalloc(): Out of memory allocating -880 bytes.
/usr/local/FWTools-1.2.0/bin_safe/gdalinfo: line 9: 32194 Aborted
$FWTOOLS_HOME/bin/`basename $TARGET` "$@"
Travis Kirstine
First Base Solutions Limited
Markham, ON
Canada
More information about the FWTools
mailing list