zope.file blob upload : whole file in memory

Bug #235198 reported by Christophe Combelles
4
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Undecided
Unassigned
zope.file
Confirmed
Undecided
Unassigned

Bug Description

When uploading a file, zope.file.upload.updateBlob() reads the whole file in memory,
then write it to the blob.
This is not memory-scalable. This is probably not the only place where the memory problem occurs, but it could be solved (at least here) by writing the blob with chunks.

(Another much more efficient way would be to use a hardlink to create the blob)

Revision history for this message
Christian Zagrodnick (zagy) wrote :

Yes, it's not the only place. But a start.

Changed in zope3:
status: New → Confirmed
Tres Seaver (tseaver)
Changed in zope.file:
status: New → Confirmed
Changed in zope3:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.