Is gcServer true by default for Windows server editions?

I have a .Net 4.0 Win Forms application that I run on two blocks, and one in the Win7 field, one in the Win Server 2k3 window. The application on the 2k3 box has 2-3 intermittent freezes during the day, which appear to be large collections of garbage, while the win7 box never has these long garbage collections. Is it possible that the default GC for Win2k3 is different from the default for Win7?

+6
source share
1 answer

No, it has not changed as described here: http://msdn.microsoft.com/en-us/library/ms229357.aspx

The following fingerprints are false :

 Console.WriteLine(System.Runtime.GCSettings.IsServerGC); 

Try to make sure yourself that another developer has not redesigned the configuration. :)

+3
source

Source: https://habr.com/ru/post/885783/


All Articles