[Erp5-dev] treenalyser.py: Zodb inspection tool
Pelletier Vincent
vincent at nexedi.com
Tue Jul 24 09:36:59 CEST 2007
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.
--
Vincent Pelletier
More information about the Erp5-dev
mailing list