C
Chris
Hi,
I have an asp.net site that receives a medium amount of traffic (500-1k
users per day). I'm having massive trouble at the moment with a memory leak
that I just cannot isolate. The server is w2k, with 1GB ram, but the
asp.net process is recycling 2-3 times daily!
I've run perfmon over the last week to get a clear picture, and here's what
i see from it:
Looking at the 'private bytes' counter, it increases quite quickly from
around 1MB to 750MB in a matter of 6-12 hours (depending on load).
Gen 0 and Gen 1 are behaving as expected, never get very big, and are
relatively flat.
Large Object Heap, whilst bigger, is also flat, so not a contributor.
Gen 2 however is increasing at pretty much exactly the same rate as private
bytes, and never gets recycled except for when the asp.net process itself
recycles, or IIS gets reset.
I've read some good articles on msdn about this, but i'm afraid they weren't
too much help. I am hoping that someone has come across Gen 2 not recycling
before and has a few pointers as where to look next.
Cheers
Chris
I have an asp.net site that receives a medium amount of traffic (500-1k
users per day). I'm having massive trouble at the moment with a memory leak
that I just cannot isolate. The server is w2k, with 1GB ram, but the
asp.net process is recycling 2-3 times daily!
I've run perfmon over the last week to get a clear picture, and here's what
i see from it:
Looking at the 'private bytes' counter, it increases quite quickly from
around 1MB to 750MB in a matter of 6-12 hours (depending on load).
Gen 0 and Gen 1 are behaving as expected, never get very big, and are
relatively flat.
Large Object Heap, whilst bigger, is also flat, so not a contributor.
Gen 2 however is increasing at pretty much exactly the same rate as private
bytes, and never gets recycled except for when the asp.net process itself
recycles, or IIS gets reset.
I've read some good articles on msdn about this, but i'm afraid they weren't
too much help. I am hoping that someone has come across Gen 2 not recycling
before and has a few pointers as where to look next.
Cheers
Chris