Configure .NET CLR RAM usage

后端 未结 2 1542
渐次进展
渐次进展 2021-01-15 10:47

Is there a method of configuring the .NET CLR RAM usage on my machine?

Suppose I have 64GB of RAM and I want to limit it to 4GB? It this possible?

E

2条回答
  •  渐次进展
    2021-01-15 11:15

    Have at look at the machine.config file in

    %SystemRoot%\Microsoft.NET\Framework[version]\CONFIG

    The memoryLimit attribute controls the percentage of physical memory that a process is allowed to consume. I know this is not exactly what you are looking for but the closest I could find.

提交回复
热议问题