Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Newbie: System.OutOfMemory Exception in ASP.NET 2.0 web service ?

Reply
Thread Tools

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

 
 
Navin Mishra
Guest
Posts: n/a
 
      03-05-2007
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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
Exception of type 'System.Web.HttpUnhandledException' wasthrown.Exception has been thrown by the target of an invocation.System.WebSystem.Exception jobs ASP .Net 1 11-16-2007 05:57 PM
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Calling a Web Service using Axis, from within an Axis Web Service running under Tomcat hocho888 Java 1 04-29-2005 08:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57