Newbie: System.OutOfMemory Exception in ASP.NET 2.0 web service ?

Discussion in 'ASP .Net Web Services' started by Navin Mishra, Mar 5, 2007.

  1. Navin Mishra

    Navin Mishra Guest

    Hi,

    In load testing of our ASP.NET 2.0 web service, we are getting
    System.OutOfMemory exception sometimes. In windows event log, we see entries
    like the following:

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 3/1/2007 5:07:46 PM

    Event time (UTC): 3/2/2007 1:07:46 AM

    Event ID: 766f3673f14f4338813be4f35285c93f

    Event sequence: 227222

    Event occurrence: 1

    Event detail code: 0



    Process information:

    Process ID: 1636

    Process name: w3wp.exe

    Account name: DOGWOOD\OSWeb



    Exception information:

    Exception type: OutOfMemoryException

    Exception message: Exception of type 'System.OutOfMemoryException' was
    thrown.



    Thread information:

    Thread ID: 14

    Thread account name: DOGWOOD\OSWeb

    Is impersonating: False

    Stack trace: at System.Uri.ReCreateParts(UriComponents parts, UInt16
    nonCanonical, UriFormat formatAs)

    at System.Uri.GetEscapedParts(UriComponents uriParts)

    at System.Uri.GetComponentsHelper(UriComponents uriComponents, UriFormat
    uriFormat)

    at System.Uri.GetComponents(UriComponents components, UriFormat format)

    at System.Uri.GetLeftPart(UriPartial part)

    at System.Web.Services.Protocols.ServerProtocol.CreateKey(Type
    protocolType, Type serverType)

    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()

    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
    HttpContext context, HttpRequest request, HttpResponse response, Boolean&
    abortProcessing)

    at
    System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
    type, HttpContext context, HttpRequest request, HttpResponse response)

    at
    System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
    context, String verb, String url, String filePath)

    at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
    requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

    at
    System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
    completedSynchronously)



    ...



    EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4 mscorlib,
    P5 2.0.0.0, P6 4333ab80, P7 116e, P8 29, P9 system.outofmemoryexception, P10
    NIL.



    Has anybody seen that ? Is it not .NET is garbage collected like Java and so
    in theory it shouldn't happen ?

    What are recommended problem diagnosis and resolution steps ?



    Thanks in advance and regards



    Navin
     
    Navin Mishra, Mar 5, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. LP

    System.OutOfMemory Exception

    LP, Jan 21, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    12,176
    Tad Marshall
    Apr 9, 2005
  2. vMike

    system.outofmemory exception

    vMike, Oct 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,136
    vMike
    Oct 30, 2003
  3. Mike

    System.OutOfMemory Exception

    Mike, Jan 4, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    389
  4. Mike
    Replies:
    2
    Views:
    444
  5. shil
    Replies:
    4
    Views:
    748
Loading...

Share This Page