DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39522>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39522

           Summary: Web services implemented in ASP.NET leak memory with
                    mod_aspdotnet
           Product: Apache mod_aspdotnet
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Apache.Web
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


We noticed that calling a simple HelloWorld method in a Web service built with
MS Visual Studio 2003 using ASP.NET causing the memory usage of Apache to
increase over time.  

We ran this loop test long enough to conclude that this was not just a matter of
delayed garbage collection.

We are already running with the modified version of mod_aspdotnet as described
in the bug #35760 "Memory leaks due to stalled .NET finalizer thread".


The code that reproduces this is below.  I can send the zipped project files on
request.

      Service1 service = new Service1();
      service.Url = "http://localhost/WebServe/Service1.asmx";;

      service.HelloWorld(" Jeff");

      string s = new string('B', 1000000);
      for ( int i = 0 ; i < 1000000; i++ ) {
        try {
          s = service.HelloWorld(s);
          Console.WriteLine(string.Format("Repetition {0}", i));
        } catch (Exception e) {
          Console.WriteLine(e.Message);
        }
      }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to