Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I solve this issue?

Posted on 2007-11-14
2
Medium Priority
?
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
grant300 earned 300 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

610 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