[FWTools] ECW extract - Out of memory error

Shaun Kolomeitz Shaun.Kolomeitz at epa.qld.gov.au
Tue Aug 14 19:10:11 EDT 2007

I am using FWTOOLS v1.3.5 (WinXP) and have tried a number of
memory/cache switch settings to extract a portion of an ECW image with
no success.

This process used to work in previous versions. However no matter what
switches I try FWTOOLS is unable to do this.

For example :-

gdal_translate -of hfa -a_srs EPSG:4326 -projwin 140 -16 152 -26
Z:\Raster\geoimage.ecw extract.img

0...10...20...30.ERROR 2: CPLMalloc(): Out of memory allocating 6980328

This is frustrating as I am trying to get others using FWTOOLS/gdal/ogr
as these tools have been a God-send to me.

Is there a preferred set of magic switches I should be using to extract
from large ECW's we have been sent ?

Any suggestions greatly appreciated.



WARNING: This e-mail (including any attachments) has originated from a Queensland Government department and may contain information that is confidential, private, or covered by legal professional privilege, and may be protected by copyright.  

You may use this e-mail only if you are the person(s) it was intended to be sent to and if you use it in an authorised way.  No one is allowed to use, review, alter, transmit, disclose, distribute, print or copy this e-mail without appropriate authority.  If you have received this e-mail in error, please inform the sender immediately by phone or e-mail and delete this e-mail, including any copies, from your computer system network and destroy any hardcopies.

Unless otherwise stated, this e-mail represents the views of the sender and not the views of the Environmental Protection Agency.

Although this e-mail has been checked for the presence of computer viruses, the Environmental Protection Agency provides no warranty that all viruses have been detected and cleaned. Any use of this e-mail could harm your computer system.  It is your responsibility to ensure that this e-mail does not contain and is not affected by computer viruses, defects or interference by third parties or replication problems (including incompatibility with your computer system).

E-mails sent to and from the Environmental Protection Agency will be electronically stored, managed and may be audited, in accordance with the law and Queensland Government Information Standards (IS31, IS38, IS40, IS41 and IS42) to the extent they are consistent with the law.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20070815/cfc4abaf/attachment.html

More information about the FWTools mailing list