c# - Modifying GCSettings.IsServerGC -
i have c# application loads default in workstation gc mode. application loads various libraries via reflection. if library loaded, i'd use server gc instead of workstation gc. possible? tried adding library's app.config file , doesn't anything, seems mesh msdn article: http://msdn.microsoft.com/en-us/library/ms229357.aspx
this element can used in application configuration file.
so out of luck here, or there way enable server gc?
use app.config file this:
<configuration> <runtime> <gcserver enabled="true" /> </runtime> </configuration>
Comments
Post a Comment