High number of GC collections

  • Thread starter Thread starter Chris Leffer
  • Start date Start date
C

Chris Leffer

Hi.

I have an asp.net application running on a Windows 2003/IIS 6 machine.
After restart IIS I followed some performance counters from .NET to have
an idea of the memory use by the application. From 9:00 am to 6:00 pm,
the number of GC collections (generation 0) reached 5488.

One of my pages refreshs itself each 15 seconds. The access to the
Oracle database is very high.

Is this number normal? How can I detect bottlenecks (if any) caused by
excessive GC collections?

Regards,
Chris Leffer
 
Chris Leffer said:
Hi.

I have an asp.net application running on a Windows 2003/IIS 6 machine.
After restart IIS I followed some performance counters from .NET to have
an idea of the memory use by the application. From 9:00 am to 6:00 pm,
the number of GC collections (generation 0) reached 5488.

That's not a problem. Gen 0 collections are very cheap and you should
expect lots of Gen 0 collections. Look rather at you Gen 2 heap size, Large
Object heap size and % Time in GC counter for indicators of memory problems.


David
 
Back
Top