OutOfMemoryException - IIS

Posted on 2010-09-03
Last Modified: 2012-05-10
Hi Experts,

I have attached the error. I have investigated this and it looks like a problem with memory and will need to set a limit to recycle it. A few sites suggest having a quota of 800mb (IIS within Application Pool)

Can you please assist on any other suggestions.


Event Type:	Warning
Event Source:	ASP.NET 2.0.50727.0
Event Category:	Web Event 
Event ID:	1309
Date:		19/08/2010
Time:		18:15:22
User:		N/A
Computer:	SERVER
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 19/08/2010 18:15:22 
Event time (UTC): 19/08/2010 17:15:22 
Event ID: 1e0d136400ef45f99294a79ccf5925bf 
Event sequence: 28209 
Event occurrence: 1192 
Event detail code: 0 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT-10-129266899108402500 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: E:\webs\WEBSITE\webroot\ 
    Machine name: SERVER 
Process information: 
    Process ID: 5788 
    Process name: w3wp.exe 
Exception information: 
    Exception type: OutOfMemoryException 
    Exception message: Insufficient memory to continue the execution of the program. 
Request information: 
    Request URL: http://IPADDRESS/Default.aspx 
    Request path: /Default.aspx 
    User host address: IPADDRESS 
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
Thread information: 
    Thread ID: 111 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at System.Web.HttpResponseUnmanagedBufferElement..ctor()
   at System.Web.HttpWriter.FlushCharBuffer(Boolean flushEncoder)
   at System.Web.HttpWriter.Filter(Boolean finalFiltering)
   at System.Web.HttpResponse.FilterOutput()
   at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
Custom event details: 

For more information, see Help and Support Center at

Open in new window

Question by:introlux
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 33595521
The error due to insuffiencet memory  to handle the process you have do a iireset and how much memory has on your system.


Author Comment

ID: 33595553
4gb ram

Accepted Solution

goyal_251 earned 500 total points
ID: 33595597

Author Closing Comment

ID: 33596448
Seems like I will go with the /3GB switch to maximise the use of the RAM.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question