Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: Handling lots of PUT data in CGI

by blue_cowdawg (Monsignor)
on May 29, 2013 at 12:57 UTC ( #1035835=note: print w/replies, xml ) Need Help??

in reply to Re^2: Handling lots of PUT data in CGI
in thread Handling lots of PUT data in CGI

      The problem seems to be there aren't always enough resources available for Perl to read this into memory. Instead of dealing with that whole chunk of data as a scalar, I would want CGI to save it to disc somewhere and just point me to the file.

To me that is a different problem than a Perl issue. Almost sounds systemic to me. If, for example, you are running this code on a system with 4Gb of RAM (pretty common these days) and you are running out of memory then you need to constrain the data to be in smaller chunks.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035835]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2018-06-18 11:53 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.