.net - Very busy garbage collection (95%) with a lots of free memory -


our app not performing well. when @ perfmonance, found garbage collection time 95% of execution time. @ same time, our on memory usage quite low - have lots of free memory indicated taskmanager. why that? thought garbage collector got busy when memory pressure high.

from wiki: garbage collection

the garbage collection (gc) form of automatic memory management. garbage collector, or collector, attempts reclaim garbage, or memory occupied objects no longer in use program.

if allocating memory , failing deallocate it, garbage collector comes picture. review code , see memory allocate deallocated , when go out of scope.


Comments