window server oracle db 운영 시 TNS-12531: TNS:cannot allocate memory 발생 하면서 리스너를 통한 DB 접속 불가 발생
원인 : window server의 heap size 부족이거나 실제 window server의 메모리 부족으로도 발생할 수 있음
해결 :
Launch regedt32 and go to:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\
In the right pane, click on Windows and pull down Edit then select Modify.
You should see a string that resembles this in its entirety:
%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,768 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16
Focus on this section:
Windows SharedSection=1024,20480,768
세번째 밑줄 친 값이 서버에 할당 된 heap 메모리 값입니다. 이 값을 증가시키고 window server 재기동을 수행하면 오류 해소가 됨 최적의 값은 없기 때문에 서버마다 점차적으로 늘리는것을 권장
참고 : oracle doc (Doc ID 1384337.1)
'oracle' 카테고리의 다른 글
[ORACLE]테이블 통계 정보 LOCK & UNLOCK (0) | 2022.08.18 |
---|---|
[ORACLE]Oracle Profile (0) | 2022.08.12 |
[ORACLE] daily partition add procdure (0) | 2022.07.15 |
[ORACLE] Supplemental logging 사용법 (0) | 2022.07.13 |
[ORACLE] rollback 남은 시간 확인 쿼리 (0) | 2022.07.07 |