您的位置:首页 > 移动开发 > Objective-C

Memory Notification: Library Cache Object loaded into SGA

2007-12-12 21:21 405 查看
Memory Notification: Library Cache Object loaded into SGA
Heap size 2238K exceeds notification threshold (2048K)

这是个警告,属于一个bug,在10.2.0.2中被fixed。
问题的原因是:进程花费大量时间在内存中查找剩余空间,没找到,进行了扩展,有可能是内存碎片比较严重
解决办法:
10g中有一个不在文档列出的参数_kgl_large_heap_warning_threshold,将其扩大即可,这个参数的单位是byte。
SQL> alter system set "_kgl_large_heap_warning_threshold"=8388608 scope=spfile ;
SQL> shutdown immediate
SQL> startup
SQL> show parameter _kgl_large_heap_warning_threshold
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
_kgl_large_heap_warning_threshold integer 8388608

在10.2.0.2中,这个值被增加到了50MB,因此也不会有问题了。 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息