Check out and contribute to CodePedia, the wiki for developers.

ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1561
Number of posts: 3072

This Forum Only
Post New Thread

Report
Out of Memory Exception Posted by rahul_torka on 25 Nov 2009 at 2:21 AM
We have .net application installed on production server. It is using .net FrameWork 3.0 on windows server 2003 with RAM 4 GB.

But there is a problem in application while running sometimes it throws system out of memory exception. I am very frustrating with this. Also I am unable to simulate the issue. I had checked all the possibilities which can cause the problem but didn’t get any thing which solve the issue

I checked on production server event log found the Out Of Memory Exception also INVALID VIEW STATE logs are there.
Look at the following event log which may help to find solutions.

Exception information:
Exception type: HttpException
Exception message: Invalid viewstate.
Request information:
Request path: /zContest/ScriptResource.axd
User: LisaA
Is authenticated: True
Authentication Type: Forms
Thread information:
Thread ID: 10
Is impersonating: True
Stack trace: at System.Web.UI.Page.DecryptStringWithIV(String s, IVType ivType)
at System.Web.UI.Page.DecryptString(String s)
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------

Event code: 3005
Event message: An unhandled exception has occurred.
Process information:
Process ID: 5388
Process name: w3wp.exe
Exception information:
Exception type: OutOfMemoryException
Exception message: Exception of type 'System.OutOfMemoryException' was thrown.

------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------



Please help me out on this



 
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A BootstrapLabs project.