[Mongrel] failed to allocate memory while downloading large files

Amit Tomar lists at ruby-forum.com
Tue Sep 14 09:18:56 EDT 2010


Luis Lavena wrote:
> On Tue, Sep 14, 2010 at 9:50 AM, Amit Tomar <lists at ruby-forum.com> 
> wrote:
>> ? ? ? ?end
>> end
>>
> 
> That is copying the file every 4k for you, you can simply File.move
> form the temporay filename to the final name in your remote location.
> 
> It is expected you dispose the temporary file when you're done with it.
> 
> Please see how proper file uploading and processing is done with Ruby on 
> Rails.
> --
> Luis Lavena
> AREA 17
> -
> Perfection in design is achieved not when there is nothing more to add,
> but rather when there is nothing more to take away.
> Antoine de Saint-Exup鲹

Thanks luis
you said right ,i have to check how uploading takes place..
could you suggest some documnet ??
-- 
Posted via http://www.ruby-forum.com/.


More information about the Mongrel-users mailing list