On Thu, 20 Jan 2000, Clifford Lang wrote:

> mod_perl 1.21
> Apache 1.3.9
> Solaris 2.5.1, Linux 6.0
> 
> Is this a good or bad idea?
> 
> I want to create an inheritable module based on Apache::Request mainly for
> uploading files, then create individual PerlHandler modules for individual
> page content.
> 
> If I do this, will the uploaded files end up increase the memory consumption
> of the module, or is all memory freed after the fileupload process?

Apache::Request reads the uploaded file in 4K chunks and saves it to a
tmpfile, just as CGI.pm does.  you shouldn't see the process grow to the
size of the file unless you've hit a bug we don't know about.

Reply via email to