mail-archives/mono-bugs/2004-June/017898.html

111 строки
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 56038][Nor] Changed - Memory leak in the outputcache of a page.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="017897.html">
<LINK REL="Next" HREF="017899.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 56038][Nor] Changed - Memory leak in the outputcache of a page.
</H1>
<B>bugzilla-daemon@bugzilla.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
TITLE="[Mono-bugs] [Bug 56038][Nor] Changed - Memory leak in the outputcache of a page.">bugzilla-daemon@bugzilla.ximian.com
</A><BR>
<I>Wed, 23 Jun 2004 15:44:09 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="017897.html">[Mono-bugs] [Bug 60575][Maj] Changed - Error loading assembly in bin directory
</A></li>
<LI> Next message: <A HREF="017899.html">[Mono-bugs] [Bug 60657][Min] New - [PATCH] Improveents to monodoc editing
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17898">[ date ]</a>
<a href="thread.html#17898">[ thread ]</a>
<a href="subject.html#17898">[ subject ]</a>
<a href="author.html#17898">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:gonzalo@ximian.com.">gonzalo@ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=56038">http://bugzilla.ximian.com/show_bug.cgi?id=56038</A>
--- shadow/56038 2004-06-23 08:24:32.000000000 -0400
+++ shadow/56038.tmp.16517 2004-06-23 15:44:09.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 56038
Product: Mono: Class Libraries
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Normal
Component: Sys.Web
AssignedTo: <A HREF="mailto:gonzalo@ximian.com">gonzalo@ximian.com</A>
ReportedBy: <A HREF="mailto:ya@slamail.org">ya@slamail.org</A>
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
@@ -60,6 +60,31 @@
Always.
Additional Information:
none.
+
+------- Additional Comments From <A HREF="mailto:gonzalo@ximian.com">gonzalo@ximian.com</A> 2004-06-23 15:44 -------
+If you add this line to the beginning of method OnRawResponseRemoved
+in System.Web.Caching/OutputCacheModule.cs file:
+Console.WriteLine (&quot;removed: {0} {1} {2}&quot;, key, value, reason);
+
+and execute this script:
+while [ 1 -eq 1 ]; do a=`expr $a + 1`; wget
+<A HREF="http://127.0.0.1:8080/oc.aspx?id=$a;">http://127.0.0.1:8080/oc.aspx?id=$a;</A> sleep 1; done
+
+after 1 minute (+- a few seconds) you'll get on the terminal running
+xsp things like:
+/oc.aspx
+METHOD:GET
+VP:id=1
+ System.Web.Caching.CachedRawResponse Expired
+removed: CachedRawResponse
+/oc.aspx
+METHOD:GET
+VP:id=2
+ System.Web.Caching.CachedRawResponse Expired
+removed: CachedRawResponse
+
+So the &quot;leak&quot; is not because old data is not being disposed, but
+because new data is inserted more quickly than removed.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="017897.html">[Mono-bugs] [Bug 60575][Maj] Changed - Error loading assembly in bin directory
</A></li>
<LI> Next message: <A HREF="017899.html">[Mono-bugs] [Bug 60657][Min] New - [PATCH] Improveents to monodoc editing
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17898">[ date ]</a>
<a href="thread.html#17898">[ thread ]</a>
<a href="subject.html#17898">[ subject ]</a>
<a href="author.html#17898">[ author ]</a>
</LI>
</UL>
</body></html>