[gdal-dev] gdaladdo errors for overviews on vrt file

Pietro Rossin pierigis at gmail.com
Wed Mar 6 23:35:51 PST 2013


Hi all
I'm trying to make overviews on a vrt file.
Windows XP x32, dual opteron 4Gb RAM, Osgeo4W.

This file is a virtual dataset, a mosaic of 993 tiff images 1bit b/w.

gdalinfo for one of these tiff is:
****************************************************
Driver: GTiff/GeoTIFF
Files: 109021.tif
       109021.tfw
       109021.aux
Size is 7600, 6550
Coordinate System is `'
Origin = (2400071.386161581600000,5072907.599233778200000)
Pixel Size = (0.433431096374989,-0.433431096374989)
Metadata:
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_SOFTWARE=IrfanView
  TIFFTAG_XRESOLUTION=59
  TIFFTAG_YRESOLUTION=59
Image Structure Metadata:
  COMPRESSION=CCITTFAX4
  INTERLEAVE=BAND
  MINISWHITE=YES
Corner Coordinates:
Upper Left  ( 2400071.386, 5072907.599)
Lower Left  ( 2400071.386, 5070068.626)
Upper Right ( 2403365.462, 5072907.599)
Lower Right ( 2403365.462, 5070068.626)
Center      ( 2401718.424, 5071488.112)
Band 1 Block=7600x1 Type=Byte, ColorInterp=Palette
  Description = Band_1
  Metadata:
    LAYER_TYPE=athematic
  Image Structure Metadata:
    NBITS=1
  Color Table (RGB with 2 entries)
    0: 255,255,255,255
    1: 0,0,0,255
*************************************

The mosaic header is:
<VRTDataset rasterXSize="292042" rasterYSize="284413">
<VRTRasterBand dataType="Byte" band="1">
    <NoDataValue>0.00000000000000E+000</NoDataValue>
    <HideNoDataValue>1</HideNoDataValue>
    <ColorInterp>Palette</ColorInterp>
    <ColorTable>
      <Entry c1="255" c2="255" c3="255" c4="255" />
      <Entry c1="0" c2="0" c3="0" c4="255" />
    </ColorTable>

I'm making overviews with this command:
gdaladdo -r nearest --config COMPRESS_OVERVIEW deflate file.vrt 2 4 8 16 32
64 128 256

It's 48 hours that gdaladdo is working, now it's 70% done and today I read
some errors on the osgeo shell:

ERROR 1: TIFFMergeFieldInfo:Failed to allocate fields array
ERROR 1: dxf_tiff.vrt.ovr:Failed to allocate memory for for fields array
(467763
0 elements of 16 bytes each)
ERROR 1: TIFFMergeFieldInfo:Failed to allocate fields array
ERROR 1: dxf_tiff.vrt.ovr:Failed to allocate memory for for fields array
(467763
0 elements of 16 bytes each)
ERROR 1: TIFFMergeFieldInfo:Failed to allocate fields array
ERROR 1: dxf_tiff.vrt.ovr:Failed to allocate memory for for fields array
(467763
0 elements of 16 bytes each)
ERROR 1: TIFFMergeFieldInfo:Failed to allocate fields array
More than 1000 errors or warnings have been reported. No more will be
reported f
rom now.

gdaladdo at the beginning was using 10%cpu and few ram
Today It's using 50% CPU (i.e. 1 phisical processor) and 1.3Gb RAM

What is this? RAM problem??
Thank you all
Pietro



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/gdaladdo-errors-for-overviews-on-vrt-file-tp5038929.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list