cmd的管理员模式
32位程序的内存扩冲
BCDEdit /set PAE forceenable Windows
//单项程序使用3G内存,即应用程序或软件允许使用的最大内存为3G 3072代表3G
bcdedit /set increaseuserva 3072
重启
//editbin 使用到vs下目录的可执行文件 editbin.exe link.exe
editbin /LARGEADDRESSAWARE "c:\a.exe"
关闭
关闭PAE:bcdedit /set pae forcedisable
关闭3GB:bcdedit /deltevalue IncreaseUserVa