地址窗口扩展
I have an 32bit application with very large memory requirements.
I noticed that there is something called Address Windowing Extension.
However I haven't found much information in regards to how to use it and also what disadvantages and problems one might run into while using this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实上,您可以在 64 位 Windows 操作系统中运行的 32 位应用程序中使用 AWE,并且不需要 PAE。例如MS SQL Server(2012版本之前)可以配置为这种模式。
但除非您有非常具体的要求,否则移植到 64 位可能是更好的选择。
您有几个缺点:
SeLockMemoryPrivilege
的用户一起运行AllocateUserPhysicalPages
)。LARGE_ADDRESS_AWARE
标志拥有 4GiB 的内存窗口。这篇 1999 年的文章解释了如何使用此类 API。
Well the truth is that you can use AWE from a 32bits application running inside a Windows OS 64bit, and you don't need PAE. For example MS SQL Server (before 2012 version) can be configured in this mode.
But unless you have a very specific requirements, probably is far a better option to port to 64bits.
You have several disvantages:
SeLockMemoryPrivilege
AllocateUserPhysicalPages
).LARGE_ADDRESS_AWARE
flag.MapUserPhysicalPages
).This article from 1999 explain how to use such API.