close

2010/09/08新增

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems
REG_MULTI_SZ” and “REG_EXPAND_SZ

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
修改Windows SharedSection三個數字中間的那個,將3072改為8192。



HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota

GDIProcessHandleQuota值範圍從256~16,384,預設為10,000若常開很多視窗可以將值設定接近上限。USERProcessHandleQuota值範圍從200~18,000,預設值為10,000,常開多個視窗也可以將值設定為更大。此值好像不能設定較上限更大?大了應該也沒用,反而可能造成系統不穩定。


**************************************************************************************************

 

Windows的user物件負責視窗ui相關的運作機制,GDI則是與繪圖相關,不夠用可以改下面機碼,預設值為0x2710,偶先用看看0x7FFFF。


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota

http://delphi.ktop.com.tw/board.php?cid=168&fid=912&tid=89797
http://blog.yam.com/dllee/article/2660009

2009/12/11: 即使增加了,開了五個ACDSee Pro 2.x, IE8, PS CS4這種會吃一堆GDI、USER object的AP,一樣是會造成crash!看來又是重裝插屁才能解決。

arrow
arrow
    全站熱搜

    bagatelles 發表在 痞客邦 留言(0) 人氣()