ORA-04031

Error: ORA-04031: unable to allocate string bytes of shared memory ("string","string","string","string")

Causa: More shared memory is needed than was allocated in the shared pool.

Acción: 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 initialization parameters SHARED_POOL_RESERVED_SIZE and SHARED_ POOL_SIZE. If the large pool is out of memory, increase the initialization parameter LARGE_POOL_SIZE.

COMENTARIOS:

por Fernando V. | 09/06/2007 00:28:50

RE: ORA-04031

debes ejecutar periodicamente el comendo ALTER SYSTEM FLUSH SHARED POOL; o actualizar de version de base de datos
Regards. Saludos.
Luis F. Valenzuela
fdo.valenzuela@gmail.com
Oracle certificate /Java developer
_______________________________
Santiago - Chile

por GJ | 11/01/2008 18:21:46

RE: ORA-04031

Hola que resultado puedo obtener de ejecutar ese comando en caliente??? mi bd esta siendo accesada por muchos usuarios ahora que estan ejecutando varias tranasacciones si ejecuto ese comando ahora traera consigo algun error???
gracias

por JAGZ | 21/02/2008 19:59:05

RE: ORA-04031

Para este tipo de error que deberia hacer...para ser sincero nunca me he metido a actualizar las memorias del Oracle y si tengo mis dudas sobre como modificarlo Creo que seria el Shared Pool y Shared Pool Reserved y si puede ser Caliente. En mi caso probe con Flush; pero no me funciono
EXP-00008: ORACLE error 4031 encountered
ORA-04031: unable to allocate 80184 bytes of shared memory ("shared pool","LTADM","PL/SQL MPCODE","BAMIMA: Bam Buffer")
ORA-06508: PL/SQL: could not find program unit being called: "SYS.LTADM"ORA-06512: at "SYS.LT_EXPORT_PKG", line 843
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.LT_EXPORT_PKG.schema_info_exp

por fdlo | 31/03/2009 11:14:09

RE: ORA-04031

Saludos a todos dentro es este foro, al ejecutar el comando ALTER SYSTEM FLUSH SHARED POOL, me aparece sh: alter: not found