Experience using gcServer=“true” to set garbage collector for .NET

后端 未结 3 1821
梦毁少年i
梦毁少年i 2020-12-29 23:50

Has someone used a configuration enabling the garbage collector optimized for multi-processor machines using Aspnet.config with :



        
3条回答
  •  滥情空心
    2020-12-30 00:22

    Simply put, the Workstation GC mode improves performance for a single user, while the server GC mode is designed for use on a program that has multiple requests all the time. I truly hope that this question isn't a symptom of a much larger problem. sometimes when people start questioning the garbage collector it's because they're not seeing memory footprint that they were expecting. don't expect great gains with a different garbage collector. In almost all the tests I've done, it's made little difference which collector you are using.

提交回复
热议问题