Custom loading .NET AppDomains inside a process - what's the addressable memory for each appdomain?

StackOverflow https://stackoverflow.com/questions/19915578

  •  30-07-2022
  •  | 
  •  

문제

I have a process that uses AppDomain.CreateDomain() to spin up and then down new application domains inside my worker process.

What is the maximum addressable memory for each of the AppDomains on a 32-bit OS? Is it 2gb or do all of the AppDomains share the 2gb limit of the host process?

도움이 되었습니까?

해결책

There's only one GC heap, all AppDomains allocate from it. So there's no fixed maximum size for each, the sum of all allocations can never exceed the address space limit.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top