On Sep 14, 2009, at 13:27 , Chris Withers wrote:
Jens Vagelpohl wrote:Sadly, when you're trying to figure out which folder is using all theHow about simply writing a script that crawls the ZODB and gives you paths and sizes?space on a disk that's running out of space, that's not practical...Indeed, and what's the magic incantation to get the size of the object as it is on disk?
There is none that I know. I would simply look at the data items I know from the object in the ZODB. Like, I know how OFS.Image and OFS.File save their data and can determine the size that way. You would have to have knowledge about each type of object encountered.
Description: S/MIME cryptographic signature
_______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev