Solved

How can I solve this issue?

Posted on 2007-11-14
2
365 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

705 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

18 Experts available now in Live!

Get 1:1 Help Now