Heap size exceeds notification threshold

转自网络

Tue Oct 16 18:41:06 2007
Memory Notification: Library Cache Object loaded into SGA
Heap size 5118K exceeds notification threshold (2048K)
Details in trace file /oracle/admin/era3/udump/era32_ora_671968.trc

 

 

上网检索,说是oracle的一个bug在10g10.2.0.1的各个平台上都出现过。 Oracle10g中,在load较大的对象进library cache中时,会记录以上警告。在版本10.2.0.1中,这个定义大对象的阈值是2M,这是有隐含参数_kgl_large_heap_warning_threshold 指定的

从10.2.0.2起,这个参数的默认值被修改为50M。

这个错误跟经典的Ora-04031没有什么太大的关系

解决方法1:升级到10.2.0.2

解决方法2:

SQL> alter system set "_kgl_large_heap_warning_threshold"=8388608 scope=spfile ;

SQL> shutdown immediate

SQL> startup

Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1
This problem can occur on any platform.
.
Symptoms
The following messages are reported in alert.log after 10g Release 2 is installed.

Memory Notification: Library Cache Object loaded into SGA
Heap size 2294K exceeds notification threshold (2048K)

Changes
Installed / Upgraded to 10g Release 2

Cause
A number of issues have been logged with these messages in 10GR2, many are
still open. These look like warning messages that should not cause the program
responsible for these errors to fail.

They appear as a result of new event messaging mechanism
and memory manager in 10g Release 2. The meaning is that the
process is just spending a lot of time in finding free memory
extents during an allocate as the memory may be heavily fragmented.
Real memory messages should be ORA-403x when a real memory problem
occurs.

Solution
In 10g we have a new undocumented parameter that sets the KGL heap size
warning threshold. This parameter was not present in 10GR1.
Warnings are written if heap size exceeds this threshold.

Set _kgl_large_heap_warning_threshold to a reasonable high value
to prevent these warning messages. Value needs to be set in bytes.

If you want to set this to 8192 (8192 * 1024) and are using an spfile:

 

 

时间: 2024-08-01 17:52:25

Heap size exceeds notification threshold的相关文章

SGA Heap size 2098K exceeds notification threshold (2048K)的问题

Memory Notification: Library Cache Object loaded into SGA Heap size 2098K exceeds notification threshold (2048K) 出现原因: These are warning messages that should not cause the program responsible for these errors to fail. They appear as a result of new e

Android 图片OutOfMemory异常bitmap size exceeds VM budget的原因及解决方法

1.现象 很多朋友应该都碰到过下面这个异常 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 FATAL EXCEPTION: main java.lang.OutOfMemoryError: bitmap size exceeds VM budget at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) at android.graphics.BitmapFactory.

Java.Lang.OutOfMemoryError 错误——设置java Heap Size

1.确定当前系统可以设置的最大值: Below command will help you to identify the maximum memory heap size than can be allocated to a JVM process. java -mx[value]m -version Start with a higher value like 4G or higher and slowly cut down to the maximum allowed value. 举例:

【android错误】bitmap size exceeds 32bits

使用图片缩放时遇到这么个问题: java.lang.IllegalArgumentException: bitmap size exceeds 32bits 后来一行行查代码,发现原来是 scale 的比例计算错误,将原图给放大了 20 多倍,导致内存溢出所致,重新修改比例值后就正常了

oom-ImageView bitmap size exceeds VM budget

问题描述 ImageView bitmap size exceeds VM budget 我在一个activity中为一个ImageView设置了从asset中读取出来的图片,ImageView..setImageDrawable(Drawable.createFromStream(getResources() .getAssets().open("xxx.png"), "")); 图片一般200-500k,第一次显示正常,在模拟器上backpress再进入这个ac

在迁移邮箱时, Mailbox Size Exceeds Target Quota 2.3GB错误的解决

官方说法: http://technet.microsoft.com/en-us/library/dd297937.aspx

【问题处理】Memory Notification: Library Cache Object loaded into SGA

1.问题现象数据库日常巡检过程中,在alert日志中发现如下警告信息--省略--Thu Apr 15 22:06:31 2010Memory Notification: Library Cache Object loaded into SGAHeap size 3215K exceeds notification threshold (2048K)KGL object name :SELECT TOWNER, TNAME, NAME, LENGTH, PRECISION, SCALE, TYPE

Create Database using Create Database SQL Command

创建ORACLE数据库有几种比较常用的方法: 1. 图形界面下使用DBCA,可以选择使用模板或者自定义(自定义需要执行创建数据字典和存储过程的过程,而模板的话是使用DBMS包作恢复的安装.所以速度上差别比较大) 2. 命令行的DBCA与responseFile 3. Create Database SQL命令,然后执行创建数据字典和存储过程,所以速度会略微慢点. 据David说考OCM的话考的是CREATE DATABASE SQL建库的过程.一般情况下DBA可能为了图快使用的都是DBCA和模板

Red Hat 6.5安装Oracle 10g故障汇总

  目前Oracle 12c第一版已经推出接近一年时间,行业普遍接受11gR2作为安装标准配置.笔者接受了一个在64bit Red Hat安装老版本Oracle 10gR2的任务.在这个过程中,遇到一些问题,将解决策略记录下来,留待需要的朋友待查.   1.OS版本兼容   OS与Database Software之间的兼容性问题是我们需要考虑的第一关.在Oracle 10g时代,Linux普遍版本是4.x,所以对于我们安装的Red Hat 6.5,在安装兼容性检查过程中是会报错的. 这个问题还