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

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

  •  30-07-2022
  •  | 
  •  

Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top