How to modify virtual address space in Windows

For most of Windows systems, it allocates 2GB process virtual address space for OS. So we are left with 2GB, which is not enough when we are doing some big deal, say, playing a high quality game. Question is how can we modify this?

In the previous versions of Windows (before Win7), there is a file, named boot.ini, containing some boot information:

This is a sample of a default boot.ini file from a Windows XP Professional computer.

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

We simply add a parameter to the end of last line to provide 3GB virtual address space for our applications. It looks like this:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /3G

However, with Win7 (or later versions), we cannot do that anymore as a result of boot.ini file abandoned. Still it provides us a tool called bcdedit.exe (you can find it in system32 or run bcdedit in the command line tool):

Here you can learn more about edit the boot.ini file:   How to edit the Boot.ini file in Windows XP

And bcdedit:     BCDEdit Command-Line Options


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值