[REPOST]我可以在64位模式下运行XNA游戏 [英] [REPOST] can I run an XNA game in 64-bit mode

查看:95
本文介绍了[REPOST]我可以在64位模式下运行XNA游戏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用模拟器来模拟许多物体之间非常复杂的相互作用,我的意思是数百万。



因为有用的东西,我使用过XNA这让我可以轻松完成,尤其是渲染。



我的问题是我在模拟几秒后就遇到了OutOfMemoryExceptions。我很快意识到我的程序只能在32位模式下运行,所以我只得到几GB的RAM。



我该如何运行64位模式下的XNA游戏?



[从 http://stackoverflow.com/questions/13485435/compiling-xna-to-64-bit [ ^ ] - SA]

I'm working on a simulator that models very complex interactions between many objects, and I mean millions.

I've used XNA because of the useful things that it lets me do easily, especially with the rendering.

My problem is that I'm running into OutOfMemoryExceptions after only a few seconds of simulation. I quickly realized that my program is only running in 32-bit mode, so I only get a few GBs of my somewhat larger amount of RAM.

How can I run an XNA game in 64-bit mode?

[Re-post from http://stackoverflow.com/questions/13485435/compiling-xna-to-64-bit[^] — SA]

推荐答案

编译项目到任何CPU平台。



-SA
Compile the project to the "Any CPU" platform.

—SA


这篇关于[REPOST]我可以在64位模式下运行XNA游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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