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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNN auto-updating it's core ? 2 36
Getting multiple values from a dataset ASP.NET(VB) 3 37
Runtime Error 2 28
Error in JQuery 5 36
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
A short film showing how OnPage and Connectwise integration works.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 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

16 Experts available now in Live!

Get 1:1 Help Now