[Mono-bugs] [Bug 397627] New: POST with HttpWebRequest is leaking memory -- probably in WebConnectionStream

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 5 15:14:54 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=397627


           Summary: POST with HttpWebRequest is leaking memory -- probably
                    in WebConnectionStream
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jeremiah.boyle at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=220535)
 --> (https://bugzilla.novell.com/attachment.cgi?id=220535)
Test case

Description of Problem:

My test case creates an HttpWebRequest to local webserver and POSTs several
megabytes. This is done repeatedly. Under mono the test quickly consumes all
available memory. Under .NET the test never consumes more than 45mb of RAM.

Steps to reproduce the problem:
1. gmcs test.cs
2. mono test.exe
3. Keep an eye on process memory usage in top / taskman.


Actual Results:
All available physical memory is consumed by the process.


Expected Results:
Memory usage ought to stabilize somewhere reasonable.


How often does this happen? 
Always.


Additional Information:
My primary test used Mono 1.9 under Mac OS X 10.5. 
I also tested using Mono 1.9.1 under Windows XP with similar results.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list