Here is my situation. I want to explain why this is happening. I read about the GC here , but I still do not understand.
The case of a workstation . When I start workstation garbage collection, my application grows to 180 MB of private bytes and about 70 MB in the ".NET CLR Memory #bytes in all heaps." The memory continues to remain stable for several hours. Life is good.
Server case: When I run the server garbage collection, my application grows to 500 MB of private bytes, but still only about 70 MB in the ".NET CLR Memory #bytes in all heaps." Parsing the output of DumpHeap -stat and! GCRoot shows many objects without roots. In addition, my personal bytes increase significantly over the course of several hours, but the .NET bytes remain constant. My application uses a lot of unmanaged code, so I think this is due to the difference in private and .NET bytes. But why is my life so bad in server business?
Any GC wisdom or further research guide?
Thank!
source
share