Windows平台下,TNS-12531:无法分配内存解决办法
3、就是windows下所遇到的情况了,最终在itpub erp版找到了这个解决方法,参见: http://www.itpub.net/446533.html
主要有以下三种情况会导致这个情况:
1、sga分配不当或者连接数过多而processes参数较小。情况有些类似: http://218.94.123.17/viewthread.php?tid=35477
2、更改了/etc/hosts里的主机名所导致。可参见: http://www.dbform.com/archives/212
hosts文件中缺少主机定义。
配置监听我们使用的是netstat -in检查网卡绑定的IP地址,然后将IP写入listener.ora文件。
1、sga分配不当或者连接数过多而processes参数较小。情况有些类似: http://218.94.123.17/viewthread.php?tid=35477
2、更改了/etc/hosts里的主机名所导致。可参见: http://www.dbform.com/archives/212
hosts文件中缺少主机定义。
配置监听我们使用的是netstat -in检查网卡绑定的IP地址,然后将IP写入listener.ora文件。
通常netstat -in中显示的IP地址在/etc/hosts文件中都会有配置,而偏偏这次没有,于是oracle的监听程序在启动的时候在hosts文件中检查不到listener.ora中配置的主机,所以无法正常启动。
另外,如果/etc/hosts中设置的IP和主机名称对应中没有本机hostname命令显示的主机名,也同样会报这个错误。
解决方法:
在/etc/hosts中配置正确的IP地址和主机名称
在/etc/hosts中配置正确的IP地址和主机名称
3、就是windows下所遇到的情况了,最终在itpub erp版找到了这个解决方法,参见: http://www.itpub.net/446533.html
Windows平台下,TNS-12531:无法分配内存解决办法
修改HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems
Windows value
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
%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的内存的
这个地方就是控制 section的内存的
共享之。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/1863/viewspace-594566/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/1863/viewspace-594566/