C#程序最大占用的内存空间
来源:互联网 发布:人人宽客量化交易源码 编辑:程序博客网 时间:2024/06/06 04:40
During our recent blog chat, there were a number of topics that were asked about and I am going to expand on some of them. The first one is the memory limits for different processes.
This really depends on a few different things. The architecture of the process (32-bit or 64-bit) and also the architecture of the Operating System the process is running on. For 32-bit it also depends if you use the /3GB switch or not.
So I broke this up based on these things into the table below, this is the maximum amount of memory available for the process assuming you have that much RAM and Pagefile space.
32-bit OS64-bit OS32-bit process2 GB4 GB32-bit process with /3GB3 GBN/A64-bit processN/A16 TBThese process numbers are contingent on how much RAM and disk space you have, so if you have 4 GB of RAM and 4 GB Pagefile, the total memory of all running processes can’t be greater then 8 GB.
Note: If you let Windows manage your Pagefile size, when you hit this limit, Windows will try to grow your Pagefile as long as there is disk space available.
For the amount a .NET application will use before we can expect to see out of memory, those numbers are:
32-bit OS64-bit OS32-bit process800-1200 MB2800 MB32-bit process with /3GB1800 MBN/A64-bit processN/A2800 MB if using a 4 GB process or more if more RAM (around 70% of RAM + Pagefile)Keep in mind that although a .NET process can grow this large, if the process is multiple GB in size, it can become very difficult for the Garage Collector to keep up with the memory as Generation 2 will become very large. I’ll talk about the generations more in an upcoming post.
Hopefully that will clear up how much memory each one uses.
Keep checking the RECAP- ASP.NET Blog Chat to see other topics that Tess or I write about.
- C#程序最大占用的内存空间
- 类占用的内存空间
- 类的内存空间占用
- 【内存空间】01. 指针占用的内存空间大小
- 枚举类型占用的内存空间
- 指针占用的内存空间大小
- c++类占用的内存空间
- 占用内存空间
- linux程序的内存空间
- 程序内存空间的分配
- Java对象占用内存空间的大小
- 结构体占用内存空间的问题
- C++中结构体的内存空间占用
- android查看当前应用占用的内存空间
- android Imageview bitmap 占用内存空间的计算
- 自定义类所占用的内存空间
- 如何优化图片占用的内存空间?
- C#查看程序占用系统的内存
- bootstrap fileinput上传组件的实例
- Topcoder SRM554 Hard : TheBrickTower(矩阵快速幂)
- Kaggle过程
- 就百度网页快照抓取时间的论点
- 欢迎使用CSDN-markdown编辑器
- C#程序最大占用的内存空间
- oracle流程控制
- day14泛型
- 安卓8.0 SystemUI 中的quick setting加入屏幕截图功能
- linux下如何利用QtCreator编译ARM版本的Qt程序
- Unity双引号字符串中运用的转义符(Unity萌新的备忘录)
- GAN与NLP的结合相关资料汇总与总结
- Unable to compile class for JSP 问题解决方法
- 论文:Deeplab_v1