是否有一个单一的.NET程序内存限制有一个、内存、程序、NET

2023-09-02 10:20:17 作者:奋斗吧

目前,我们正在想建立一个缓存系统来保存数据掏出一个SQL数据库,并使其一对夫妇的其他应用程序(网站,Web服务等)可供选择。我们想象中的高速缓存,运行作为Windows服务和基本构成一个聪明的字典持有缓存条目。我的问题是,是有限制的应用程序的工作集(这将Windows Server 2003下运行)?或者是物理内存量的限制吗?

We are currently thinking of building a cache-system to hold data pulled out of an SQL database and make it available to a couple of other applications (website, webservice, etc). We imagine the cache to be running as a windows service and basically consist of a smart dictionary which holds the cache entries. My question is, is there a limit to the working set of the application (it will be running under windows server 2003)? Or is the amount of physical memory the limit?

推荐答案

32位或64位? 32位为2GB(一个过程),64位是1TB (企业版2003服务器)。

32bit or 64bit? 32bit is 2gb (for a process), 64 bit is 1TB (enterprise edition 2003 server).

然而,CLR对象的最大容量为2GB 即使在64。