[Mono-bugs] [Bug 56038][Maj] New - Memory leak in the outputcache of a page.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 25 Mar 2004 12:47:51 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ya@slamail.org.

http://bugzilla.ximian.com/show_bug.cgi?id=56038

--- shadow/56038	2004-03-25 12:47:51.000000000 -0500
+++ shadow/56038.tmp.9081	2004-03-25 12:47:51.000000000 -0500
@@ -0,0 +1,66 @@
+Bug#: 56038
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ya@slamail.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Memory leak in the outputcache of a page.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Memory Leak in System.Web.Caching
+
+Steps to reproduce the problem:
+1. 
+Create and run this page in xsp (test.aspx) :
+
+----------
+<%@ Page language="c#" AutoEventWireup="false" %>
+<%@ OutputCache Duration="1" VaryByParam="id" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+        <HEAD>
+                <title>WebForm1</title>
+        </HEAD>
+        <body>
+                <div><%= Request.Params["id"] %></div>
+        </body>
+</HTML>
+----------
+
+2.
+
+use an automatic http client with the url "http://<host>/test.aspx?id=<id>"
+and let the id varying randomally in the set [for instance] {"a",.."z"} and
+do that in a loop.
+
+3. 
+
+Actual Results:
+
+The memory used by mono increases "indefinitly", meaning there is a memory
+leak.
+
+Expected Results:
+
+Garbage collection of deprecated cached data.
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+none.