Windows平台下,无法分配内存解决办法

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems]

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,3072 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=80

-------------------------------------------------------------------

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,3072 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=80

修改SharedSection=1024,3072,512,三个数字全部加大。
这个地方就是控制 section的内存的

posted @ 2009-06-11 09:00  大力  阅读(1677)  评论(0编辑  收藏  举报