ORA-04030: out of process memory when trying to allocate.....

创建包的时候报错 ORA-04030: out of process memory when trying to allocate XXXX  bytes (PLS non-lib hp,PAR.C:parchk:ptb)
觉得很奇怪,明明内存啥的都是够的呀,怎么会创建失败呢?
上网搜了下,翻了若干网页,在 这里 找到了靠谱的答案(从metalink上来的),摘录如下:
This is happening because your process memory is getting exhausted. The possible solutions would be 

- Increase the ulimit ( virtual memory ) to unlimited. 
% ulimit -a would give you the current settings. 

- Decrease the SGA size, if it is set to a very large value. This is required if you are hitting the address space limits. 

- You may also try decreasing the parameters like sort_area_size , bitmap_merge_area_size , create_bitmap_area_size . 

- You can also free up the unused PGA memory by running the procedure dbms_session.free_unused_user_memory.. 

If your application uses lots of PL/SQL tables, it might be a good idea to initialize them to NULL when not used. This will force 
the garbage collection and there by freeing up the process memory.
我这边的故障是因为SGA过大导致的,减少了相关的参数后(%pool_size、db_cache_size、%sga%),再次创建就成功了。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29867/viewspace-713190/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29867/viewspace-713190/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值