Solved

How can I solve this issue?

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
app server have enough resources... 2 40
tag title an image 13 30
how to see all occupied ports on windows 10 laptop 15 59
Help with query 3 23
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

813 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

8 Experts available now in Live!

Get 1:1 Help Now