title: Downloading large file in ColdFusion using CFHTTP
body: <p>I'm trying to download a large (600MB) binary file to the server using CFHTTP on Coldfusion 8:</p>
  
  <pre><code>&lt;cfhttp 
    method="get" 
    url="#fileURL#" 
    path="#filePath#" 
    file="#fileName#" 
    timeout="600" 
    getasbinary="auto"
  &gt;
  </code></pre>
  
  <p>It's working fine for smaller files (100something MB) but for the large one's I'm getting the Server 500 error: "java.lang.OutOfMemoryError: Java heap space".</p>
  
  <p>The file is being downloaded from a Dropbox folder - so only available option is to use HTTP GET.</p>
  
  <p>Does anyone have idea how to download it, so it wouldn't kill the server or timeout?</p>