[plumi-discuss] [Plumi] #171: large time on wa (waiting io)

Plumi trac at plumi.org
Mon Aug 4 20:44:10 EST 2008


#171: large time on wa (waiting io)
----------------------+-----------------------------------------------------
  Reporter:  yurj     |       Owner:  andycat
      Type:  task     |      Status:  new    
  Priority:  major    |   Milestone:         
 Component:  ATVideo  |     Version:         
Resolution:           |    Keywords:         
----------------------+-----------------------------------------------------

Comment(by yurj):

 no, it does'nt change.

  Maybe this is the real problem!

 http://dev.plone.org/plone/ticket/7586

 """FileField.getFilename by default calls getBaseUnit to get the filename.
 getBaseUnit recalls FileField.getFilename with fromBaseUnit to false to
 get the filename ! After, it creates an BaseUnit and loads the file
 content into memory (value.data). With big files, it's very slow and
 consummes a lot of RAM for nothing. After all this work,
 BaseUnit.getFilename is called.

 This is very complex and unefficient ! Why FileField.getFilename needs to
 create a baseUnit only to get a filename that is got finally from itself ?
 """

-- 
Ticket URL: <http://plumi.org/ticket/171#comment:4>
Plumi <http://plumi.org/>
Plumi - FOSS Video Sharing Platform


More information about the Discuss mailing list