HighTechTalks DotNet Forums  

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

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Newbie: System.OutOfMemory Exception in ASP.NET 2.0 web service ? in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Navin Mishra
 
Posts: n/a

Default Newbie: System.OutOfMemory Exception in ASP.NET 2.0 web service ? - 03-05-2007 , 05:30 PM






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.Creat eKey(Type
protocolType, Type serverType)

at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()

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

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

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

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

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

at System.Web.HttpApplication.ExecuteStep(IExecutionS tep 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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.