Windows平台下,TNS-12531:无法分配内存解决办法
通常netstat -in中显示的IP地址在/etc/hosts文件中都会有配置,而偏偏这次没有,于是oracle的监听程序在启动的时候在hosts文件中检查不到listener.ora中配置的主机,所以无法正常启动。
另外,如果/etc/hosts中设置的IP和主机名称对应中没有本机hostname命令显示的主机名,也同样会报这个错误。
解决方法:
在/etc/hosts中配置正确的IP地址和主机名称
Windows平台下,TNS-12531:无法分配内存解决办法
修改HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems
Windows value
预设值如下:
%SystemRoot%\system32\csrss.exe bjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
修改SharedSection=1024,3072,512,三个数字全部加大。
这个地方就是控制 section的内存的
共享之。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1863/viewspace-594566/
,如需转载,请注明出处,否则将追究法律责任。