Visual Studio 2010 和/或 win7 64 位限制
有人有在 VisualStudio 2010 C Premium 中编写使用大量 RAM 和多个 CPU 的应用程序的经验吗?
我即将订购一台配备双六核 Xeon 5690 处理器(总共 12 个核心,24 个超线程)和 48 GB RAM 的工作站,但首先想知道 VS 是否可以处理那么多的核心和 RAM。
(当然这都是 64 位的)我似乎无法从 MS 或硬件供应商或网络上找到直接答案。 谢谢
更新:有人刚刚向我发送了此 链接
我现在意识到我的问题被误导了。真正的问题是目标操作系统是否可以处理那么多 RAM 并运行双 CPU。
因此,除非我误读,否则上面链接中的信息意味着,如果您想编写一个在 Windows 7 上运行的应用程序,即使您需要 64 位版本,您也只能使用 16 GB。解决这个问题的唯一方法是要求用户运行 Win 7 Professional、Enterprise 或 Ultimate 64 位版本。
Does anyone have experience writing apps in VisualStudio 2010 C Premium that uses large amounts of ram and multiple cpus?
I am about to order a workstation with Dual hex-core Xeon 5690 processors (12 cores total, 24 hyperthreaded) and 48 gigabytes of RAM, but first would like to know if VS can handle that number of cores and RAM.
(Of course this is all 64bit) I can't seem to find a straight answer either from MS or the hardware vendor, or from the Web.
Thanks
Update: someone just sent me this link
I realize now that that my question was mis-directed. The real issue is whether the target OS can address that much RAM and run dual cpu.
So, unless I'm misreading it, the infomation in the link above means that if you want to write an application that will run on Windows 7, and even if you require the 64bit version, you are limited to 16 gb. The only way to get around that is require users to run Win 7 Professional, Enterprise or Ultimate 64 bit versions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确定你的意思有点棘手。 VS2010 当然可以产生充分利用此类硬件的输出。而且 IDE 本身在如此宽敞的机器上运行得非常好。
您的更新讨论了 Windows 本身施加的内存限制。你说:
现实情况是,没有人会购买内存超过 16GB 的机器,然后安装不支持该内存量的操作系统版本。那只是浪费钱。如果您的应用程序需要比这更多的 RAM,并且您的客户准备拥有这样的机器,那么他们会很乐意在其上安装 Windows 专业版。
It's a little tricky to be sure quite what you mean. VS2010 can certainly produce output that takes full advantage of such hardware. And the IDE itself will run very nicely on such a roomy machine.
Your update discusses memory limits imposed by Windows itself. You say:
The reality is that nobody will buy a machine with more than 16GB RAM and then install an OS edition which does not support that amount of RAM. That would just be a waste of money. If your app requires more RAM than that and your customers are prepared to get hold of such a machine, then they will be quite happy to put the Pro version of Windows on it.
Visual Studio只是一个 IDE。限制是由编译器和操作系统施加的,通常在帮助中的“限制”或类似内容下列出。不幸的是,我没有安装 C 编译器,但在等待其他答案时尝试搜索帮助。
Visual Studio is just an IDE. Limitations are imposed by the compiler and an OS, and are usually listed in help under Limitations or something alike. Unfortunatelly, I don't have C compiler installed, but try searching through help while waiting for other answers.