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

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

问题描述

我们目前正在考虑构建一个缓存系统来保存从 SQL 数据库中提取的数据,并将其提供给其他几个应用程序(网站、网络服务等).我们想象缓存作为 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?

推荐答案

32bit 还是 64bit?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 位.

更新:以上信息在 2008 年是正确的.请参阅 Ohad 的回答了解最新信息信息.Windows 2016 服务器最多可以有 24TB.

Update: the information above was correct in 2008. See Ohad's answer for more recent information. Windows 2016 server can have a maximum of 24TB.

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

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