I believe you can get round this by using a but of java code instead of
cfheader. It has more than likely been documented on this list before as
well as blogs.

Regards
Russ Michaels
On Jun 26, 2012 5:41 PM, "Robert Harrison" <[email protected]>
wrote:

>
> Apparently the problem with cfheader is a file size issue. As of CF9, it
> seems to load the entire file into memory before downloading it, so if the
> file is too large you get the out of memory. Apparently this was not a
> problem in previous CF Releases, which explains why this used to work and
> started giving me issue on the newer sites.
>
> To fix this you can increase the JVM Heap Size max, or you can use the
> solution provided by Ben Nadel at
> http://www.bennadel.com/blog/1227-Using-ColdFusion-To-Stream-Files-To-The-Client-Without-Loading-The-Entire-File-Into-Memory.htm
>
> From what I read this was not a problem before CF9. Apparently Adobe
> changed CFHEADER to load the entire file into memory at CF9 time. In
> http://forums.adobe.com/message/3448331 it seems that Adobe acknowledged
> this was a bug in October 2010 and said they were looking into it. I guess
> they are still looking.
>
> For now, increasing the Java Heap Size Max has solved the problem.
>
> Robert Harrison
> Director of Interactive Services
>
> Austin & Williams
> Advertising I Branding I Digital I Direct
> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
> T 631.231.6600 X 119   F 631.434.7022
> http://www.austin-williams.com
>
> Blog:      http://www.austin-williams.com/blog
> Twitter:  http://www.twitter.com/austin_
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to