Solved

How can I solve this issue?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to dynamically set the form action using jQuery.

910 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

22 Experts available now in Live!

Get 1:1 Help Now