Eric Hodel wrote:
> On Feb 27, 2007, at 13:36, Roger Pack wrote:
> 
>> So...apparently webrick does the following for serving pages:
>> loads the page into a string object
>> then sends that string to the requestor.
>> Unfortunately this means that if it is a very large file being served
>> that that buffer string will get very large.
> 
> Don't dynamically build and send large strings.  Use an IO instead.
> WEBrick knows the difference and responds accordingly.

I believe that rails must use strings, then--any ideas for that case? 
Thanks!

-- 
Posted via http://www.ruby-forum.com/.