Professional Web Applications Themes

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

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 ...

  1. #1

    Default 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 doents;
    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


    Cy Huckaba Guest

  2. #2

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

    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:

    [url]http://msdn.microsoft.com/library/en-us/dnbda/html/DBGch02.asp[/url]

    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.

    Xie Xiao Guest

Similar Threads

  1. Why FMSCore.exe Memory usage still growing up?
    By konrad@entropia.pl in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: March 15th, 04:24 PM
  2. Replies: 1
    Last Post: September 9th, 01:14 PM
  3. Total memory used by a process
    By Sri in forum AIX
    Replies: 1
    Last Post: July 27th, 04:11 PM
  4. configuring amount of memory a process can use?
    By tom in forum Linux / Unix Administration
    Replies: 1
    Last Post: July 12th, 04:02 AM
  5. aspnet_wp.exe memory usage keep growing
    By Clement in forum ASP.NET General
    Replies: 7
    Last Post: July 3rd, 03:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139