- 论坛徽章:
- 0
|
最近的PRO*C程序老是在打开游标的时候报1403错误。
如下:-4031 ORACLE ERROR:ORA-04031: unable to allocate 52480 bytes of shared memory。
看了一下帮助手册,是这么解释地:
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
// *Cause: More shared memory is needed than was allocated in the shared
// pool.
// *Action: If the shared pool is out of memory, either use the
// dbms_shared_pool package to pin large packages,
// reduce your use of shared memory, or increase the amount of
// available shared memory by increasing the value of the
// INIT.ORA parameters "shared_pool_reserved_size" and
// "shared_pool_size".
// If the large pool is out of memory, increase the INIT.ORA
// parameter "large_pool_size".
请问具体怎么解决啊? |
|