是否有一个单一的.NET程序内存限制 [英] Is there a memory limit for a single .NET process

查看:239
本文介绍了是否有一个单一的.NET程序内存限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我们正在想建立一个缓存系统来保存数据掏出一个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位是<一个href="http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx#physical_memory_limits_windows_server_2003">1TB (企业版2003服务器)。

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

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

这篇关于是否有一个单一的.NET程序内存限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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