[Erp5-dev] treenalyser.py: Zodb inspection tool

Jean-Paul Smets jp at nexedi.com
Tue Jul 24 10:03:45 CEST 2007


Pelletier Vincent a écrit :
> Hi.
>
> I commited (r15283) a tool to display FileStorage content for a given object, 
> recursing to subobjects to get total used space.
>
> This script is a (heavy) modification of Zope's netspace.py tool, and adds 
> some features to help readability and bloat reason discovery.
>
> Due to the (very) important nesting depth which can happen in Zodb, it is 
> *not* a good idea to scan the whole tree, you will probably end up with high 
> memory usage and python recursion depth errors - which are handled, but lead 
> to underestimation of total size.
>
>   
I suggest that you also post this to zope mailing list. (some people
might be interested)
JPS.

-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org






More information about the Erp5-dev mailing list