[Zope] Huge Memory Leak

Dean Houghton dean.houghton@wideawake.co.uk
Wed, 10 Apr 2002 14:45:59 +0100


Hi

I am creating an application using Zope (Zope Version (Zope 2.5.0 (binary
release, python 2.1, win32-x86), python 2.1.3, win32)Python Version 2.1.3
(#35, Apr 9 2002, 16:00:14) [MSC 32 bit (Intel)]System Platform
win32)  which has a status page which the browser refreshes every 10
seconds.  I have noticed that the memory usage climbs by about 20K for each
access of the page. When it reaches approx. 100M various parts of the
application fail.  To try and isolate the problem I cut down the page to the
following and decreased the refresh to 2 seconds:-

<head>
<title><dtml-var title_or_id></title>
<LINK REL=StyleSheet HREF="stylesheet.css" TYPE="text/css">
<dtml-comment>
<style type="text/css">
<!--
body {  background-image: url(images/wwtint.jpg); background-repeat:
no-repeat; background-position: left;top}
-->
</style>
</dtml-comment>
<META HTTP-EQUIV=Refresh CONTENT="2; URL=show_system_status">
</head>
<table align="center">
<tr>
<td colspan="7">
<dtml-var "table_title(title_text='Current status of all monitored
Systems')">
  <tr>
    <th>System</th>
    <th>System Type</th>
    <th>Service Status</th>
    <th>System Status</th>
    <th>Graphs</th>
    <th>Configure</th>
    <th>Delete</th>

  </tr>
</table>

Other parts of the application use up a lot more memory each time the page
is accessed.

Does anyone have any ideas as to why the memory usage keeps climbing ??

Thanks in advance...

Dean Houghton