服务器系统是windows2003 32位,4G内存,数据库是oracle 11g,
以前没有问题,后面添加了个定时任务每天凌晨2点
把几张表的数据统计下然后update到一张总计表里,
数据量比较大,服务器每次执行job需要花费60-80秒左右的时间,
然后问题就来了,基本上每天,最多两天就会报
ORA-04030: 在尝试分配 1049100 字节 (pga heap,kllcqgf:kllsltba) 时进程内存不足,
重启oracle后正常,
去除定时任务后,就没这个错误了.
一开始怀疑是定时任务的sql脚本有问题,再自己电脑上挂了定时任务每4分钟执行一次,开了一天都没报错,
服务器的参数设置(图片没传上来)
sga_max_size值为1504M
pga_aggregate_target的值为0(oracle自动管理)
由于服务器是在异地,不方便调试,有没有大神指教下

解决方案 »

  1.   

    pga_aggregate_target 设置为0?target_memory如何配置?贴出来spfile关于内存参数配置
    故障时间点awr报告上传  或者发我邮箱([email protected])
      

  2.   

    ORA-04030 out of process memory when trying to allocate string bytes
    (string,string)Cause: Operating system process private memory has been exhausted.Action: See the database administrator or operating system administrator to
    increase process memory quota. There may be a bug in the application that
    causes excessive allocations of process memory space