如何使 .NET 应用程序“感知大地址"? [英] How to make a .NET application "large address aware"?

查看:22
本文介绍了如何使 .NET 应用程序“感知大地址"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我已经用/3GB 开关启动了一个 32 位的 Windows Server,我怎样才能让 .NET 应用程序使用额外的地址空间?

Assuming I have booted a 32-bit Windows Server with the /3GB switch, how can I make a .NET application use the additional address space?

推荐答案

该标志是图像标题的一部分,因此您需要使用 editbin 对其进行修改.

The flag is part of the image header, so you need to modify that using editbin.

editbin /LARGEADDRESSAWARE <your exe>

使用 dumpbin/headers 并查找 Application can handle large (>2GB) addresses 的存在以查看是否设置了标志.

Use dumpbin /headers and look for the presence of Application can handle large (>2GB) addresses to see if the flag is set or not.

这篇关于如何使 .NET 应用程序“感知大地址"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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