Oracle告警日志ora-04030
发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,一oracle 11g 出现ORACLE ORA-04030之 out of process memory when trying to allocate报错,查询ORACLE官方MOS确定是:BUG
千家信息网最后更新 2026年11月02日Oracle告警日志ora-04030
一oracle 11g 出现ORACLE ORA-04030之 out of process memory when trying to allocate报错,查询ORACLE官方MOS确定是:BUG11852492,原因是用户会话单进程占用PGA超过4GB异常终止,根据MOS文章1325100.1的建议:可以根据服务器实际情况及SQL运行的实际情况放开PGA单进程使用内存空间的限制到16GB。
相关分析处理过程如下:
ORA4030告警,告警信息如下:**************************** 查看数据库告警日志 ************************** ERROR IN ALERT LOG FILE - LAST 3 DAYS ===================================== 15/12/2016 22:44:13 Thu Dec 15 22:44:13 2016 Thu Dec 15 22:44:13 2016 ORA-04030: out of process memory when trying to allocate 64 bytes (kxs-heap-c,allocator state) ORA-04030: out of process memory when trying to allocate 624 bytes (kxs-heap-c,MSQ2) ORA-04030: out of process memory when trying to allocate 82456 bytes (pga heap,control file i/o buffer) Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/incident/incdir_498/orcl_pmon_60993.trc: See Note 411.1 at My Oracle Support for error and packaging details. Use ADRCI or Support Workbench to package the incident.
针对PGA单进程4GB内存空间的限制,查证当前操作系统相关限制参数设置为4GB:
[root@host ~]# more /proc/sys/vm/max_map_count65530[root@host ~]# more /proc/sys/vm/max_map_count65530[root@host ~]#
针对PGA单进程4GB内存空间的限制,使用如下sql语句查证oracle数据库相关隐含参数设置为4GB:
_realfree_heap_pagesize_hint=65536 select a.ksppinm name, b.ksppstvl value, a.ksppdesc description from x$ksppi a, x$ksppcv b where a.indx = b.indx and a.ksppinm like '_realfree_heap_pagesize_hint';
如果实际情况可以,oracle官方允许PGA单进程设置为16GB,相关操作如下:
SOLUTION Change the upper limit at either the OS or at the database level: Change the page count at the OS level: more /proc/sys/vm/max_map_count sysctl -w vm.max_map_count=262144 (for example) **Please note the above changes will revert upon host reboot unless the changes are permanently made in the /etc/sysctl.conf file ** Adjust the realfree heap pagesize within the database by setting the following parameters in the init/spfile and restart the database. For versions 11.2.0.4 and lower: _use_realfree_heap=TRUE _realfree_heap_pagesize_hint = 262144 For 12.1 and higher: _use_realfree_heap=TRUE _realfree_heap_pagesize = 262144
进程
限制
内存
实际
情况
空间
参数
官方
数据
数据库
日志
操作系统
信息
原因
建议
文章
服务器
用户
系统
语句
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
湖北九亚互联网络科技有限公司
科技赋能下的互联网金融
互联网科技社
互联网科技金融
丰台科技园 互联网
有木互联网科技
广州紫鲸互联网科技
互联网金融 科技创新
互联网科技网站
镁科技互联网资讯平台
恒生科技互联网指数分析
老年人脱离互联网科技的作文
北京大学互联网科技怎么样
随着互联网科技发展
洛阳共同富裕互联网科技有限公司
互联网硬科技公司
上海同邻互联网科技有限公司规模
版纳互联网科技选哪家
福仕德教育科技互联网
宁波允成互联网科技有限公司
科技互联网产品
中国互联网科技股
互联网科技社
互联网科技缩写
互联网经济与金融科技
互联网科技与管理
昭通互联网科技选哪家
互联网科技公司实习生
天津腾达互联网科技有限公司
上海互联网科技园景观