Garbage Collection every 100 seconds

后端 未结 12 1382
深忆病人
深忆病人 2021-02-03 11:32

Did any one encountered a scenario where application under high memory allocation load performed second generation collection every 100 seconds ?

We using 64-bit server

12条回答
  •  猫巷女王i
    2021-02-03 11:54

    I'm assuming you are using .NET as well. I'm not sure what tools you are using, but I'm a huge fan of Red Gate's Ants profiler. I use it at work. It can identify which objects are hogging resources. Once you narrow it down, hopefully, you can find the offending code and free up resources properly.

    Check your code and make sure you're calling Dispose() whenever possible.

    Let us know how it goes.

提交回复
热议问题