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
  • 2

Expert Comment

Comment Utility
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

Comment Utility
4gb ram

Accepted Solution

goyal_251 earned 500 total points
Comment Utility

Author Closing Comment

Comment Utility
Seems like I will go with the /3GB switch to maximise the use of the RAM.

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Auslogics BoostSpeed 9 software 5 44
IIS 7.5 to 8.0 6 69
Align Buttons next to each other 2 12
Achieve json result 2 28
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now