|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
interval when GC is runWhat is the interval when garbage collection is run and is there a way to
monitor it through Perfmon? Hello Roger,
There is no time interval, GC runs in 3 cases 1) Allocation exceeds the Gen0 threshold; 2) System.GC.Collect is called; 3) System is in low memory situation; R> What is the interval when garbage collection is run and is there a R> way to monitor it through Perfmon? R> --- WBR, Michael Nemtsev :: blog: http://spaces.live.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche is there a counter in perfmon that can monitor the threshold?
Show quote "Michael Nemtsev" wrote: > Hello Roger, > > There is no time interval, GC runs in 3 cases > > 1) Allocation exceeds the Gen0 threshold; > 2) System.GC.Collect is called; > 3) System is in low memory situation; > > R> What is the interval when garbage collection is run and is there a > R> way to monitor it through Perfmon? > R> > --- > WBR, > Michael Nemtsev :: blog: http://spaces.live.com/laflour > > "At times one remains faithful to a cause only because its opponents do not > cease to be insipid." (c) Friedrich Nietzsche > > > Hello Roger,
The threshold of GC is not cleary fixed, it depends on CPU cache. AFAIK there is no perfcounter to monitor this But, could u explain why do u need to monitor this? R> is there a counter in perfmon that can monitor the threshold? R> Show quote R> "Michael Nemtsev" wrote: Michael Nemtsev :: blog: http://spaces.live.com/laflourR> >> Hello Roger, >> >> There is no time interval, GC runs in 3 cases >> >> 1) Allocation exceeds the Gen0 threshold; >> 2) System.GC.Collect is called; >> 3) System is in low memory situation; >> R> What is the interval when garbage collection is run and is there a >> R> way to monitor it through Perfmon? >> R> >> --- >> WBR, >> Michael Nemtsev :: blog: http://spaces.live.com/laflour >> "At times one remains faithful to a cause only because its opponents >> do not cease to be insipid." (c) Friedrich Nietzsche >> --- WBR, "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche Well, I have an asp.net 2.0 app, and I have a a few singleton objects
declared. And for some reason, I can navigate around for awhile and then for no reason and never in the same place and never the same time, during development I can thrown out. If I look at the detail info, it is on one of my objects. Cursious to determine is GC is collecting it or not. Show quote "Michael Nemtsev" wrote: > Hello Roger, > > The threshold of GC is not cleary fixed, it depends on CPU cache. > AFAIK there is no perfcounter to monitor this > > But, could u explain why do u need to monitor this? > > > R> is there a counter in perfmon that can monitor the threshold? > R> > R> "Michael Nemtsev" wrote: > R> > >> Hello Roger, > >> > >> There is no time interval, GC runs in 3 cases > >> > >> 1) Allocation exceeds the Gen0 threshold; > >> 2) System.GC.Collect is called; > >> 3) System is in low memory situation; > >> R> What is the interval when garbage collection is run and is there a > >> R> way to monitor it through Perfmon? > >> R> > >> --- > >> WBR, > >> Michael Nemtsev :: blog: http://spaces.live.com/laflour > >> "At times one remains faithful to a cause only because its opponents > >> do not cease to be insipid." (c) Friedrich Nietzsche > >> > --- > WBR, > Michael Nemtsev :: blog: http://spaces.live.com/laflour > > "At times one remains faithful to a cause only because its opponents do not > cease to be insipid." (c) Friedrich Nietzsche > > > Hello Roger,
Try to play with these counters .net CLR Memory/# Bytes in all Heaps .net CLR Memory/% Time in GC .net CLR Memory/Large Object Heap size .net CLR Loading/Bytes in Loader Heap .net CLR Loading/Current Assemblies R> Well, I have an asp.net 2.0 app, and I have a a few singleton objects R> declared. And for some reason, I can navigate around for awhile and R> then for no reason and never in the same place and never the same R> time, during development I can thrown out. If I look at the detail R> info, it is on one of my objects. Cursious to determine is GC is R> collecting it or not. R> Show quote R> "Michael Nemtsev" wrote: Michael Nemtsev :: blog: http://spaces.live.com/laflourR> >> Hello Roger, >> >> The threshold of GC is not cleary fixed, it depends on CPU cache. >> AFAIK there is no perfcounter to monitor this >> >> But, could u explain why do u need to monitor this? >> >> R> is there a counter in perfmon that can monitor the threshold? >> R> >> R> "Michael Nemtsev" wrote: >> R> >>>> Hello Roger, >>>> >>>> There is no time interval, GC runs in 3 cases >>>> >>>> 1) Allocation exceeds the Gen0 threshold; >>>> 2) System.GC.Collect is called; >>>> 3) System is in low memory situation; >>>> R> What is the interval when garbage collection is run and is there >>>> a >>>> R> way to monitor it through Perfmon? >>>> R> >>>> --- >>>> WBR, >>>> Michael Nemtsev :: blog: http://spaces.live.com/laflour >>>> "At times one remains faithful to a cause only because its >>>> opponents >>>> do not cease to be insipid." (c) Friedrich Nietzsche >> --- >> WBR, >> Michael Nemtsev :: blog: http://spaces.live.com/laflour >> "At times one remains faithful to a cause only because its opponents >> do not cease to be insipid." (c) Friedrich Nietzsche >> --- WBR, "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche Hi Roger,
All you need to know about GC -- just check-out Jeffrey Richter's explanations: http://msdn.microsoft.com/msdnmag/issues/1100/GCI/default.aspx http://msdn.microsoft.com/msdnmag/issues/1200/GCI2/default.aspx Also you can find some information about GC monitoring. Thank you, Andrei Roger wrote: Show quote > Well, I have an asp.net 2.0 app, and I have a a few singleton objects > declared. And for some reason, I can navigate around for awhile and then for > no reason and never in the same place and never the same time, during > development I can thrown out. If I look at the detail info, it is on one of > my objects. Cursious to determine is GC is collecting it or not. > > "Michael Nemtsev" wrote: > > > Hello Roger, > > > > The threshold of GC is not cleary fixed, it depends on CPU cache. > > AFAIK there is no perfcounter to monitor this > > > > But, could u explain why do u need to monitor this? > > > > > > R> is there a counter in perfmon that can monitor the threshold? > > R> > > R> "Michael Nemtsev" wrote: > > R> > > >> Hello Roger, > > >> > > >> There is no time interval, GC runs in 3 cases > > >> > > >> 1) Allocation exceeds the Gen0 threshold; > > >> 2) System.GC.Collect is called; > > >> 3) System is in low memory situation; > > >> R> What is the interval when garbage collection is run and is there a > > >> R> way to monitor it through Perfmon? > > >> R> > > >> --- > > >> WBR, > > >> Michael Nemtsev :: blog: http://spaces.live.com/laflour > > >> "At times one remains faithful to a cause only because its opponents > > >> do not cease to be insipid." (c) Friedrich Nietzsche > > >> > > --- > > WBR, > > Michael Nemtsev :: blog: http://spaces.live.com/laflour > > > > "At times one remains faithful to a cause only because its opponents do not > > cease to be insipid." (c) Friedrich Nietzsche > > > > > > There is tool named CLRProfiler check out
-- Show quoteRegards, Debasish Pramanik Assetlink India. Phone: +91 20 26119531 (226) "Andrei Varanovich" <dotne***@gmail.com> wrote in message news:1159387188.889230.175080@b28g2000cwb.googlegroups.com... > Hi Roger, > > All you need to know about GC -- just check-out Jeffrey Richter's > explanations: > > http://msdn.microsoft.com/msdnmag/issues/1100/GCI/default.aspx > http://msdn.microsoft.com/msdnmag/issues/1200/GCI2/default.aspx > > Also you can find some information about GC monitoring. > > Thank you, > Andrei > > Roger wrote: > > Well, I have an asp.net 2.0 app, and I have a a few singleton objects > > declared. And for some reason, I can navigate around for awhile and then for > > no reason and never in the same place and never the same time, during > > development I can thrown out. If I look at the detail info, it is on one of > > my objects. Cursious to determine is GC is collecting it or not. > > > > "Michael Nemtsev" wrote: > > > > > Hello Roger, > > > > > > The threshold of GC is not cleary fixed, it depends on CPU cache. > > > AFAIK there is no perfcounter to monitor this > > > > > > But, could u explain why do u need to monitor this? > > > > > > > > > R> is there a counter in perfmon that can monitor the threshold? > > > R> > > > R> "Michael Nemtsev" wrote: > > > R> > > > >> Hello Roger, > > > >> > > > >> There is no time interval, GC runs in 3 cases > > > >> > > > >> 1) Allocation exceeds the Gen0 threshold; > > > >> 2) System.GC.Collect is called; > > > >> 3) System is in low memory situation; > > > >> R> What is the interval when garbage collection is run and is there a > > > >> R> way to monitor it through Perfmon? > > > >> R> > > > >> --- > > > >> WBR, > > > >> Michael Nemtsev :: blog: http://spaces.live.com/laflour > > > >> "At times one remains faithful to a cause only because its opponents > > > >> do not cease to be insipid." (c) Friedrich Nietzsche > > > >> > > > --- > > > WBR, > > > Michael Nemtsev :: blog: http://spaces.live.com/laflour > > > > > > "At times one remains faithful to a cause only because its opponents do not > > > cease to be insipid." (c) Friedrich Nietzsche > > > > > > > > > > |
|||||||||||||||||||||||