Maximum number of applications loaded in one process

Since loading a dynamic assembly requires loading the application to activate the assembly with unloading the associated appdomain, is there a "max" number of domains in the loaded process? I mean a server application that every user can run their own C # code dynamically. But what if, say, 2,000 users log in and upload their codes? Are there any possible limitations that I might encounter besides the number of apomens?

thank.

+5
source share
3 answers

CLR " ". , , , 65536. . AppDomains.

+5

, CLR . , , appdomain.

, , .

EDIT:

, .

+5

This will mainly be determined by the limitations of your OS. Your x86 machine cannot use more than 4 GB in memory for the process [only 2 GB in user mode]. If you go to x64, you have a much larger limit. From what I know, there is no such restriction on the number of application domains that you can create.

+1
source

All Articles