473,404 Members | 2,174 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,404 software developers and data experts.

AspNet Process Memory Issue on Win2k Server - Peformance is fine - Memory usuage doesn't stop growing

We are running our company website on a win2k server running .NET framework 1.0
and IIS 5. The pages consist of mostly static content built from a combination
of custom controls (dll is only 148k total), user controls and straight html
content. I am very strict about only using server-side controls when absolutely
necessary.

I have output caching turned on every page and user control; we do not hit any
databases; a couple of pages use xml files for data but have double checked my
code and am releasing the resources once they are used (I don't rely on the
garbage collector); I have added caching to my custom controls in line with the
ASP.Net optimization techniques found in various microsoft documents;
Performance has never been an issue for this site, it has always been fast, we
have been running it since october of last year.

My question is, if I have done all of these things in order to streamline the
code and make it fast, why does the amount of memory used by the aspnet_wp
process continually grow until it has to shut itself down and recover?

I have modified the processModel section in the machine.config file set to make
sure it doesn't get into deadlock situations, etc. I have implemented cache
viewer scripts and process monitors to make sure that everything seemend to be
working like they should be and it all seems to work...that memory usage still
keeps growing.

Can anyone explain this? Is this by design? Are there any other techniques I can
use to force the release of certain resources without restarting the process
over and over again?

Any thoughts or article links would be great, thank you,

Cy Huckaba
Nov 17 '05 #1
1 2150
Hi Cy,

First of all you may want to make sure that you have .NET Framework v1.0
SP2 installed. This addresses several known issues we had.

If this is to no avail, I guess you may need to do some debugging on the
problem. Try to find out the constitutes of the managed heap and see
whether there are some big guys there holding the memory. The following
article should get you started:

http://msdn.microsoft.com/library/en...ml/DBGch02.asp

See what those big guys are and try to release them in time.

Sincerely,
Xiao Xie
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 17 '05 #2

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

Similar topics

6
by: Ganesh | last post by:
Is there a utility by microsoft (or anyone) to force garbage collection in a process without have access to the process code. regards Ganesh
7
by: Clement | last post by:
hi, i have an asp.net site and is using SQL Server 2k. i realize the aspnet_wp.exe memory usage keep growing and i will receive an error for the pages that call the sql connection. others page...
12
by: adam | last post by:
Hi I Have a problem with and asp.net application recycling. ON the development machines it works fine, but on the clients machine it keeps recycling. When some users access the app, the...
3
by: Marc Castrechini | last post by:
Forgive me on the lack of specifics but I am not a "server" guy. We just rolled our code out to a 2003 Server from Win2k Server and for some reason our pages are painfully slow. It appears the...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
7
by: M. Simioni | last post by:
Hi, i'm always auditing ASPNET's account accesses on my webserver, a WIN2K_SP4 + IIS5 + SQLServer2K_SP3a machine. Nearly all the applications work correctly, but i constantly find a message in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.