Changes between Initial Version and Version 1 of Ticket #2591
- Timestamp:
- Oct 7, 2008, 2:26:08 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2591
- Property Status new → assigned
- Property Cc added
- Property Component default → GDAL_Raster
- Property Priority high → normal
- Property Keywords netcdf added
-
Ticket #2591 – Description
initial v1 1 1 When I tried to convert a 20000x15000 file using the GMT driver (which writes NetCDF with Z as a 1D variable) it works fine, but the NetCDF driver gives an "Out of memory" error: 2 2 3 {{{ 3 4 gdal_translate psdem_2005_geo.tif -of netcdf psdem_2005.nc 4 5 Input file size is 20000, 15000 5 6 0ERROR 2: CPLMalloc(): Out of memory allocating 1200000000 bytes. 7 }}} 6 8 7 9 It looks like the NetCDF driver is trying to allocate memory for the entire data grid being processed instead of reading/writing by column, row or chunk. This should be fixed, to allow processing of much larger grids on machines with limited memory.