Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > AspNet Process Memory Issue on Win2k Server - Peformance is fine - Memory usuage doesn't stop growing

Reply
Thread Tools

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

 
 
Cy Huckaba
Guest
Posts: n/a
 
      06-24-2003
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


 
Reply With Quote
 
 
 
 
Xie Xiao
Guest
Posts: n/a
 
      06-26-2003
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
who'd like to explain the usuage of vecor<pair< , > > ? asdf C++ 6 11-19-2006 05:29 PM
what's this usuage? asdf C++ 2 08-26-2006 05:53 PM
Q: lapackpp v2.2.0 lib usuage H W C++ 4 04-18-2005 08:29 PM
Re:Q:lapackpp v2.2.0 lib usuage H W C++ 0 04-18-2005 03:45 PM
Singleton Usuage Srini ASP .Net 2 10-24-2003 12:53 AM



Advertisments