[Dancer-users] http put to upload large file

halayudha halayudha at gmail.com
Fri Aug 5 11:49:20 CEST 2011


yes, i have memory issue, since http->body is kept in RAM.
but i wonder, how come the POST method does not have such issue?



On Fri, Aug 5, 2011 at 5:38 PM, David Precious <davidp at preshweb.co.uk>wrote:

> On Friday 05 August 2011 03:42:20 halayudha wrote:
> > hi,
> >
> > i have problem to upload file using HTTP PUT with large file 800MB.
>
> 800MB via a HTTP PUT?  That seems... over the top.
>
>
> Personally, I'd look at better upload mechanisms, like a protocol designed
> for
> transferring files (SFTP, SCP, et al)
>
> I suspect that Richard is correct, it's likely exhausting memory on the
> server
> because of the whole HTTP request body being kept in RAM.
>
> Cheers
>
> Dave P
>
>
> --
> David Precious <davidp at preshweb.co.uk> (bigpresh)
> http://www.preshweb.co.uk/
>
>  "Programming is like sex. One mistake and you have to support
>  it for the rest of your life". (Michael Sinz)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110805/80521dff/attachment.htm>


More information about the Dancer-users mailing list