AppDomain中的最大数装入一个进程 [英] Max number of appdomains loaded in one process

查看:169
本文介绍了AppDomain中的最大数装入一个进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于动态组件加载需要的AppDomain加载,以实现与卸载相关应用程序域查杀组件,有一个最大号AppDomain的进程中加载​​?我想到的是一个基于服务器的应用程序,每个用户都可以动态地运行自己的专有的C#code的。但是,如果说,2000用户登录并加载其codeS?是否有除了appdomians多少?

Since dynamic assembly loading requires appdomain loading to enable killing the assembly with unloading related appdomain, is there a "max" number appdomains in a process to be loaded? I am thinking of a server based application that each user can run his proprietary C# code dynamically. But what if, say, 2000 users log in and load their codes? Are there any possible restrictions I might encounter besides the number of appdomians?

感谢。

推荐答案

几乎所有的CLR的限制是基于作为内存许可证。我所知道的唯一的例外是一个类,限制在65536成员,是基于一个令牌值定义的数量。没有这样的应用程序域。

Almost all CLR limits are based on "as memory permits". The only exception I know of is the number of members of a class, restricted to 65536. That's based on the definition of a token value. Nothing like that for AppDomains.

这篇关于AppDomain中的最大数装入一个进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆