Solved

How can I solve this issue?

Posted on 2007-11-14
2
370 Views
Last Modified: 2012-08-13
I have a web application running on Windows 2003 Server Enterprise edition using IIS6.0. The application has been written in ASP .NET. I have noticed that process W3WP grows really fast consuming lots of memory and at some point in the afternoon we have the following error:

ASAProv.90' failed with no error message available, result code: E_FAIL(0x80004005)

I do not think this is an error from the web application because it runs the whole day until the process is dropped. Is there anyone who happened to have the same problem? how did you solve it?
0
Comment
Question by:jormillan
2 Comments
 
LVL 19

Accepted Solution

by:
grant300 earned 100 total points
ID: 20284687
You have a classic memory leak.  The process runs until it tries to allocate beyond the (about) 2GB memory limit for a process under Windows, and bombs.  Because the error occurs deep down in the malloc routine, you don't get much of an application error message.

The next question is, "is it activity based or does it happen when the machine is idle?"  If it happens when the machine is otherwise idle, that is no web traffic, then you have something in an infinite loop.  Not likely but anything is possible.  If it is activity based, you are going to have to go on safari to find it.

You will have to run a series of tests on an otherwise quite system to see what/which activities cause process memory growth.  If you are lucky, it will be just one activity that does it.  Then you know right away where to look.  If it is more widespread, you have to look for something in the structure of your code; e.g. are you deallocating connections to the database, are you deallocating large cursors, are you hanging on to large result sets.  You are looking for something that uses memory that is not getting released.

Best of luck,
Bill
0
 

Author Closing Comment

by:jormillan
ID: 31409232
After some test the Oledb driver is causing the web application to shut down. We changed it to ADO .NET and memory usage is lower with better performance.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to count occurrences of each item in an array.

808 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