可以访问的内存量 [英] Amount of memory that can be accessed

查看:96
本文介绍了可以访问的内存量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Visual C ++ 2013分配和访问内存限制-64位?

Is there a limit of memory that can be allocated and accessed with Visual C++ 2013 -- 64 bit?

推荐答案

是.该限制因计算机而异,具体取决于可用的虚拟内存量.如果您的程序要求操作系统,操作系统将尽其所能分配一个连续的块.这就是为什么分配内存时总是 如果无法获得内存,则需要进行错误检查.
Yes. That limit will vary from machine to machine depending on how much virtual memory is available. The operating system will do what it can to allocate a contiguous block if your program is asking for it. That's why when allocating your memory you always need to have error checking in case the memory can't be obtained.


这篇关于可以访问的内存量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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