Just experience, since I've tried all three options (concatenation, cfsavecontent, and StringBuffer) and have had the first two generate out of memory errors while the StringBuffer worked correctly. So while cfsavecontent may indeed be faster and use less memory, I'm still pretty sure that the StringBuffer approach is better especially for very large strings (these were 100+ megabyte CSV files).
On Tue, Jun 3, 2008 at 12:14 PM, Brad Wood <[EMAIL PROTECTED]> wrote: > Good to know. > > What is your source of this information? > > ~Brad > > > From: Brian Kotek [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2008 11:11 AM > > Building up strings in cfsavecontent also concatenates to the result > variable so the problem is the same. > > On Tue, Jun 3, 2008 at 11:16 AM, Brad Wood <[EMAIL PROTECTED]> > wrote: > > > I wonder what Java string objects are used when you create a large > > string by outputting inside a cfsavecontent. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

