Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Out of memory exception error

Status
Not open for further replies.
Jul 16, 2004
153
Hello all,
Here is the situation. I have a W2K3 web server running IIS 6.0 connecting to a SQL server 2005 box. Every once in a while I will get a Out of Memory exception error (please see below) that takes down all my sites for about 20 min until it clears up. Has anyone ever seen this? I am not a developer just a system admin.

Thanks in advance

Mel

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 02/11/2006
Time: 16:12:25
User: N/A
Computer: WEB01
Description:
Event code: 3005
Event message: An unhandled exception has occurred.

Event time: 02/11/2006 16:12:25

Event time (UTC): 02/11/2006 16:12:25

Event ID: a6d0c23b70ca43cd9906fe01811f518e
Event sequence: 62814

Event occurrence: 330
Event detail code: 0



Application information:
Application domain: /LM/W3SVC/1624000369/Root-15-128068604463835000

Trust level: Full
Application Virtual Path: /
Application Path: D:\website\ Machine name: BOX01
Process information:
Process ID: 5736
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: OutOfMemoryException
Exception message: Exception of type 'System.OutOfMemoryException' was thrown.
Request information:
Request URL: Request path: /default.aspx
User host address: 111.111.111.111
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 56
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Go41766(RegexRunner )
at System.Text.RegularExpressions.NoParamDelegate.Invoke(RegexRunner r)
at System.Text.RegularExpressions.CompiledRegexRunner.Go()
at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick)
at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
at System.Text.RegularExpressions.MatchCollection.GetMatch(Int32 i)
at System.Text.RegularExpressions.MatchCollection.get_Count()
at SD.LLBLGen.Pro.DQE.SqlServer.DynamicQueryEngine.GetNewStoredProcedureName(String currentName)
at LearnSite.DataObjects.HelperClasses.DbUtils.CallRetrievalStoredProcedure(String storedProcedureToCall, SqlParameter[] parameters, DataTable tableToFill, ITransaction transactionToUse)
at LearnSite.DataObjects.StoredProcedureCallerClasses.RetrievalProcedures.GetMarketingSection(Int32 sectionId, Boolean latest)
at LearnSite.BusinessLayer.DataAccess.GetMarketingImages(Int32 sectionID, Boolean latest)
at Controls_Marketing.Page_Load(Object sender, EventArgs e) in d:\website\ 27
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Custom event details:
For more information, see Help and Support Center at
 
oh yes...i have seen this error lot of times...

instead of waiting for 20 mins...you can kill the process called aspnet_wp.exe

-DNG
 
For a little added protection (not much), if your Server has 3GB or more of ram you can use the "/3GB" switch on your servers boot.ini file.

If you know nothing about this switch, normally the OS will allocate half of all ram for it's own use and leave the other half for applications and services like IIS and SQL... but with this switch the OS will be limited to 1GB of memory for its own use and leaves the remaining ram for applications.

Note: If you have less than 3GB of ram, this switch is useless.


Senior Software Developer
 
Thanks for the info, but here but the issue is that these are live servers for my websites and I cant keep on having my sites die.

Could it be the way that ASP is connecting to the DB?

Thanks

Mel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top