S
Sherif ElMetainy
Hello
I have an ASP.NET application that just keeps leaking memory. The memory
used by the application just keeps growing until the ASP.NET worker process
is recycled when the memory limit is reached. I looked at the performance
data and here is what I found:
ASP.NET Requests Total : 28462 (Keeps increasing)
ASP.NET Requests/Sec: 2 (5 in peak hours)
Gen 0 Collections : 157 (This is really bizzare that after more that 28K
requests)
Gen 1 Collections: 76
Gen 2 Collections: 10
Induced GC: 3 (My code doesn't have a call to GC.Collect anywhere, and I am
not using 3rd party components that may do that)
#Bytes in all heaps: 237MB (Keeps increasing)
Gen 0 Heap Size: 98MB (keeps increasing)
Gen 1 Heap Size: 7MB
Gen 2 HeapSize: 130 MB
Large object Heap Size: 1MB
% of time in GC: 0.032
My question is why do I have so few garbage collections? Why is Gen 0 so
big? I read that it is typically the size of the processor's cache, but
98MB? Why aren't they promoted to gen 1 or gen 2?
My application is running with the following configuration:
Compaq ProLiant ML370 G3
Quad Intel Xeon 2.8GHz Processors
Windows 2000 Server (Service Pack 4)
2GB RAM
Microsoft .NET Framework 1.1 (Without Service Pack 1. Is this the reason?)
Best regards,
Sherif
I have an ASP.NET application that just keeps leaking memory. The memory
used by the application just keeps growing until the ASP.NET worker process
is recycled when the memory limit is reached. I looked at the performance
data and here is what I found:
ASP.NET Requests Total : 28462 (Keeps increasing)
ASP.NET Requests/Sec: 2 (5 in peak hours)
Gen 0 Collections : 157 (This is really bizzare that after more that 28K
requests)
Gen 1 Collections: 76
Gen 2 Collections: 10
Induced GC: 3 (My code doesn't have a call to GC.Collect anywhere, and I am
not using 3rd party components that may do that)
#Bytes in all heaps: 237MB (Keeps increasing)
Gen 0 Heap Size: 98MB (keeps increasing)
Gen 1 Heap Size: 7MB
Gen 2 HeapSize: 130 MB
Large object Heap Size: 1MB
% of time in GC: 0.032
My question is why do I have so few garbage collections? Why is Gen 0 so
big? I read that it is typically the size of the processor's cache, but
98MB? Why aren't they promoted to gen 1 or gen 2?
My application is running with the following configuration:
Compaq ProLiant ML370 G3
Quad Intel Xeon 2.8GHz Processors
Windows 2000 Server (Service Pack 4)
2GB RAM
Microsoft .NET Framework 1.1 (Without Service Pack 1. Is this the reason?)
Best regards,
Sherif