Pelletier Vincent
2007-07-24 07:36:59 UTC
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 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
Vincent Pelletier