<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
You said you have 8 GB RAM, and gdal_translate was using only 2 GB RAM, and your specific question was "Do I need to set some settings to speed things up?". Yes, you should increase the amount of RAM gdal_translate makes available to GDAL_CACHEMAX. For example, "gdal_translate --config GDAL_CACHEMAX 4000 " followed by the rest of the gdal_translate command. In your message you have "--config GDAL_CACHEMAX 4000-v", but there needs to be a space after "4000" and before "-v".<div>I have successfully used gdal_merge.py and gdal_translate to create GeoTIFF files as large as 142 GB, under Unix based Mac OS X, on a computer with only 3 GB RAM.</div><div>Greg<div><div><br><div><div>On Aug 16, 2009, at 4:00 PM, Paul Meems wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Thanks Greg for your help about speeding things up.<br>But speed is the least of my problems.<span class="Apple-converted-space">&nbsp;</span><br>I wouldn't mind waiting 72 hours if it gets the job done.<br>But even with this statement:<br>gdal_retile --config GDAL_CACHEMAX 4000-v -s_srs EPSG:28992 -of ECW -ps 17335 16000 -targetDir tiles large.ecw<br><br>I get the Memory error.<br><br>Do you also have any suggestion on that. Would be very much appreciated.<br><br>Thanks,<br>Paul<br><br><div class="gmail_quote">2009/8/14 Greg Coats<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:gregcoats@mac.com">gregcoats@mac.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; "><div class="im">It is my understanding that the default is<br>gdal_translate --config GDAL_CACHEMAX 40 ...<br>which equates to 40 MB of memory.<br>If you want to allow gdal_translate to use say 2 GB of memory for GDAL_CACHEMAX, enter<br>gdal_translate --config GDAL_CACHEMAX 2000 ...<br>In my experience, increasing GDAL_CACHEMAX substantially speeds up gdal_translate processing.<br>Greg<br><br>On Aug 14, 2009, at 4:08 PM, Paul Meems wrote:<br><br></div><div class="im"><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; ">I also noticed both gdal_translate and gdal_retile not use the full potential of my hardware. I'm running Vista 64Bit on a AMD3 2.6Ghz quadcore with 8GB RAM and only 2-2.5GB RAM was used by gdal_translate, leaving more than 5 GB free and only 35-55% of my CPU was used. Do I need to set some settings to speed things up?<br></blockquote></div></blockquote></div></span></blockquote></div><br></div></div></div></body></html>