[mod_python] Due to design of code util.FieldStorage causes MemoryError on V.Large files

Alexis Marrero amarrero at mitre.org
Thu Nov 3 11:34:57 EST 2005


I'm also having a MemoryError on line:

   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/mod_python/util.py", line 175, in __init__
     self.read_to_boundary(req, boundary, file)

   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/mod_python/util.py", line 206, in  
     sline = line.strip()


The file that is uploaded is 550MB.

BTW, the Content-Disposition header has a filename attribute.

What is the status with the changes that you mention on doing?

My web application must be able to support attachments of arbitrary  

Any comments?


More information about the Mod_python mailing list