[silva-dev] possible memory leak with the EditorSupportNested
Clemens Robbenhaar
robbenhaar at espresto.com
Tue Jul 29 22:24:17 CEST 2003
Hi again,
some more information about my last problem:
[...]
> 1. go to the edit tab of a Silva Document
> 2. open some paragraph for editing
> 3. click the "save" button
>
> repeating step 3. for a while leads to an increase of reference counts
> of some ParsedXML documents ,HTTPRequests, etc in the
> /ControlPanel/DebugInfo/manage_main
well, I have found the time to reproduce the issue wiht a newer,
unpatched version.
With the following setup:
Zope 2.6.1 / Python 2.1.3
Annotation-0_4_1
ParsedXML 1.3.1
ProxyIndex-1_1
Silva 0.9.2.2
SilvaMetadata-0_6
XMLWidgets-0_9
I get the following reference count increments for each time saving a
paragraph (without any markup):
Acquisition.ImplicitAcquirerWrapper +21
Acquisition.ExplicitAcquirerWrapper +7
Products.XMLWidgets.WidgetDOM.WidgetElement +2
Products.XMLWidgets.WidgetDOM.WidgetNodeList +2
Products.ParsedXML.DOM.Core.ChildNodeList +2
Products.ParsedXML.DOM.Core.Element +1
Products.ParsedXML.DOM.Core.Text +1
Products.ParsedXML.DOM.Core.Document +1
Products.ParsedXML.ParsedXML.ParsedXML +1
Products.XMLWidgets.WidgetDOM.WidgetDocument +1
ZPublisher.BaseRequest.RequestContainer +1
ZPublisher.HTTPRequest.HTTPRequest +1
ZServer.HTTPResponse.ZServerHTTPResponse +1
Incidentially I found that even moving elements up or down in the editor
leads to the following reference counts:
Acquisition.ImplicitAcquirerWrapper +17
Acquisition.ExplicitAcquirerWrapper +6
Products.XMLWidgets.WidgetDOM.WidgetElement +3
Products.XMLWidgets.WidgetDOM.WidgetNodeList +2
Products.ParsedXML.DOM.Core.ChildNodeList +2
Products.XMLWidgets.WidgetDOM.WidgetDocument +1
ZPublisher.HTTPRequest.HTTPRequest +1
ZPublisher.BaseRequest.RequestContainer +1
ZServer.HTTPResponse.ZServerHTTPResponse +1
I have no clue why this happens. Wiping out the sessions by editing the
/temp_folder/session_data seems not to help for me (though its getting
a little late (local time), and I am maybe starting to see white mice).
It would be nice if someone tries to reproduce these findings before I
make an issue out of it.
Cheers,
Clemens
More information about the silva-dev
mailing list