[Zope-dev] Zope 2.7 memory behaviour
Stefan Doerig
stef at tac.ch
Tue Mar 23 04:31:54 EST 2004
Dieter Maurer wrote:
> Apparently, your application is leaking "HTTPRequest" instances.
>
> Are you storing acquisition wrapped objects in the REQUEST object?
No, I don't think so, but I might be wrong. I mail you the test template
I'm accessing.
### BEGIN mon-clear
<dtml-var standard_html_header>
<dtml-var REQUEST>
<dtml-var standard_html_footer>
### END mon-clear
### BEGIN standard_html_header
<html>
<head>
<title></title>
</head>
<body>
standard_html_header
### END standard_html_header
### BEGIN standard_html_footer
standard_html_footer
</body>
</html>
### END standard_html_footer
That's all. The reference count looks like this after a while
Class March 23, 2004 9:46 am March 23, 2004 10:24 am Delta
Acquisition.ImplicitAcquirerWrapper 68 8793 +8725
ZPublisher.HTTPRequest.HTTPRequest 17 2198 +2181
ZServer.HTTPResponse.ZServerHTTPResponse 10 2191 +2181
ZPublisher.BaseRequest.RequestContainer 7 2188 +2181
BTW: Flushing the cache does not decrease the reference count.
Stef
--
-------------------------------------------------------------
addr://Rathausgasse 31, CH-5001 Aarau fon://++41 62 823 9355
http://www.terreactive.com fax://++41 62 823 9356
-------------------------------------------------------------
terreActive AG Wir sichern Ihren Erfolg
-------------------------------------------------------------
More information about the Zope-Dev
mailing list