windows - 如何在 Windows 中运行具有大页面的应用程序?

标签 windows windows-server-2003

大页面在 Windows Server 2003Windows Vista 中可用。

但是如何为我的应用程序启用大页面?

最佳答案

Martin 的答案在 Windows Server 2003 上是正确的:

You will have to assign the "Lock pages in memory" privilege to any user that runs your > application. This includes administrators

  1. Select Control Panel -> Administrative Tools -> Local Security Policy
  2. Select Local Policies -> User Rights Assignment
  3. Double click "Lock pages in memory", add users and/or groups
  4. Reboot the machine

在 Windows Vista 上,您还需要确保应用程序以管理员身份运行(右键单击应用程序或 shell 并选择“以管理员身份运行”。

此外,拥有一台新启动的机器也很有帮助,因为大页面可能会由于堆碎片而“耗尽”。

关于windows - 如何在 Windows 中运行具有大页面的应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39059/

相关文章:

python - windows上新conda环境下无法打开jupyter笔记本

windows - 从命令行启用/禁用 Windows 10 中的设备

Windows Server 2003 - 像在 Windows XP 中一样通过 RDP 共享当前桌面?

excel - 为什么 Perl 保存两份 Excel 电子表格副本?

iis-6 - 集群中可以有多个 ASP.NET 状态服务器服务吗?

Python - 如何使用用户名和密码打开 Windows 共享

windows - 在 windows powershell 中使用 svn 缺少参数 -m

c++ - 为什么我的程序在 nVidia NView 下占用 100% CPU?

asp.net - 截至目前,可用的编译服务器端语言有哪些?

sockets - 我在 Windows Server 2003 中可以拥有的打开套接字数的上限是多少