473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

w3wp crash and memory leakage

Hi everybody!

I have a really big problem with ASP.NET application. I noticed that the
w3wp.exe memory size, increase with the time and the use of my website. When
it raise a certain value, w3wp crashes and restart just after. My
application is on a WebServer2003.

So I have to resolve 2 problem :
-Why the memory size of the w3wp increase non stop.
- Why the w3wp crashes (in the case where there is no link between those
problem)

I did the test with another site with just some button and a datatable on it
and I have the same problem. (Knowing that may be a memory leakage I have
track all possibility of object that may not be destroyed, but alls are
disposed)

SO if anybody have a suggestion, he is welcome!

:-()
Nov 17 '05 #1
1 3768
There are several reasons why this can happen. You haven't been specific
enough for me to give you a tailored answer. I can point you in a good
direction though.

You aren't releasing your resources. That is the long and short of it. You
said objects were disposed, how? What resources are we talking about? Are
you wrapping unmanaged resources like file handles, database connections? If
so, you will need to dispose of these differently than managed resources.
How are you declaring your connections?

Lastly, IIS6 default setting encourage memory leaks simply because some
important attributes like idletimeout etc are set to infinite by default.
These settings encourage memory consumption to pile up.

The first step here is to isolate and correct your resource leak. Then
create an application pool, place your application inside this pool and set
some tite resource guidelines on the pool such as max memory, cpu
utilization etc. Then you need to dial down your processModel attributes to
meaningful numbers from "Infinite" settings. Find this in the machine.config
file. Please educate yourself about the machine.config file before you go
tampering with the settings.

Educate yourself here:
http://msdn.microsoft.com/library/de...tionschema.asp

"Gaël" <W3*******@wanadoo.fr> wrote in message
news:u0*************@TK2MSFTNGP12.phx.gbl...
Hi everybody!

I have a really big problem with ASP.NET application. I noticed that the
w3wp.exe memory size, increase with the time and the use of my website. When it raise a certain value, w3wp crashes and restart just after. My
application is on a WebServer2003.

So I have to resolve 2 problem :
-Why the memory size of the w3wp increase non stop.
- Why the w3wp crashes (in the case where there is no link between those
problem)

I did the test with another site with just some button and a datatable on it and I have the same problem. (Knowing that may be a memory leakage I have
track all possibility of object that may not be destroyed, but alls are
disposed)

SO if anybody have a suggestion, he is welcome!

:-()

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: s.subbarayan | last post by:
Dear all, I happen to come across this exciting inspiring article regarding memory leaks in this website: http://www.embedded.com/story/OEG20020222S0026 In this article the author mentions:...
4
by: AN | last post by:
Greetings, We make an ASP.NET web application and we host it for our customers. We have provisioned hardware and hope to be able to service around 200 customers on this hardware. The web...
0
by: Mark A. Ziesemer | last post by:
I've seen a few other postings that looked similar to this, but most appear to have died without any working solutions, and lacked any helpful level of information to see if they might be related. ...
1
by: msnews.microsoft.com | last post by:
Hi all, I have a problem which I've seen mentioned quite a few time around the net, but nothing seems to work. I've created a web service with one method (see code below). It's running under...
0
by: Rabbit | last post by:
Dear All, I have recently using ASP.net 2.0 to build web application with Crystal Report for .net, one of my typical coding to generate report on web page as follows: Dim rpt As New...
14
by: madhawi | last post by:
i want to know that on what situation memory leakage happan and what is the solution to solve the problem of memory leakage.
4
by: David C | last post by:
The w3wp.exe process' memory seems to go from below 200M to over 1G with no warning, causing Memory.Exception. I have searched around and read some answers, and most seem very vague. They say...
6
by: Anand Saha | last post by:
Machine: 32 bit Intel Xeon 2.93 GHz, 16 CPUs, 32 GB RAM OS: Windows Server 2003 R2 Ent Edition, SP2 Web Server: IIS 6 ASP.NET ver: 2.0 I made a simple ASP.NET application, with only this code...
11
by: prpradip | last post by:
I have an ImageList (_imageList). In _imageList I have put large numbers of Icons. Now what I need is to get Handle of all Icons that I put in _imageList, so that I can destroy (DestoryIcon) them...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.