<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jul 18, 2010, at 12:44 AM, Leith Bade wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; font-size: medium; "><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">kdu_compress also has a memory limit at 2 GB</span></span></blockquote></div><div><br></div><div>Not true.&nbsp;Based on your comment, I suspect that&nbsp;you are using a version of Kakadu that is more than 3 years old, or that was deliberately compiled for a 32 bit environment.</div><div><br></div><div>Since version 6.0, released on 15 Aug 2007 (essentially 3 years ago), Kakadu has included makefiles for 32 and 64 bit environments. Since then,&nbsp;I compile Kakadu with&nbsp;Makefile-MAC-x86-64-gcc, and this builds 64 bit applications, that automatically&nbsp;support and&nbsp;use more than 2 GB RAM.</div><div><br></div><div>I suggest that you use Kakadu version 6.4, compiled for 64 bits, because it adds to kdu_compress the -progress option, that allows the user to ask for a progress report, at a user specified interval. For example, every 1000 lines</div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><div>kdu_compress -i in.tif -o out.jp2 Creversible=yes -progress 1000</div><div>Copying Geo &nbsp;tag info, size = &nbsp; &nbsp; 387</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Progress with current tile row = 20.000000%</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Progress with current tile row = 40.000000%</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Progress with current tile row = 60.000000%</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Progress with current tile row = 80.000000%</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Progress with current tile row = 100.000000%</div><div>&nbsp;&nbsp; &nbsp;Finished processing 1 of 1 tile rows</div><div>&nbsp;&nbsp; &nbsp;Initiating final codestream flush ...</div><div>Generated 1 tile-part(s) for a total of 1 tile(s).</div><div>Greg</div><div><a href="http://homepage.mac.com/gregcoats/jp2.html">http://homepage.mac.com/gregcoats/jp2.html</a></div></span></font></div></body></html>