Board index » delphi » Help with error ORA-04031 unable to allocate 740 bytes of shared memory

Help with error ORA-04031 unable to allocate 740 bytes of shared memory

Im working with Oracle v7 and while is executing a large query, in some
point, sometimes shows the error:

"EDBEngineError with message 'key violation. [Oracle][ODBC Oracle
Driver]
[Oracle OCI] ORA-04031: unable to allocate 740 bytes of shared memory
("unknown object","sga General SQL error. hesp", "librerycache")!
Process stoped"

what can i do to correct this?

Thanks

 

Re:Help with error ORA-04031 unable to allocate 740 bytes of shared memory


Have you tried increasing the value of SHARED_POOL_SIZE in the
initialization file for your instance?

V/R
Russell L. Smith

Lourdes Leticia Cahuich Campos wrote in message
<365ADCD0.A6AC...@campus.ccm.itesm.mx>...

Quote
>"EDBEngineError with message 'key violation. [Oracle][ODBC Oracle
>Driver]
>[Oracle OCI] ORA-04031: unable to allocate 740 bytes of shared memory
>("unknown object","sga General SQL error. hesp", "librerycache")!
>Process stoped"

Re:Help with error ORA-04031 unable to allocate 740 bytes of shared memory


No, how can i do that?
Quote
"Russell L. Smith" wrote:

> Have you tried increasing the value of SHARED_POOL_SIZE in the
> initialization file for your instance?

> V/R
> Russell L. Smith

> Lourdes Leticia Cahuich Campos wrote in message
> <365ADCD0.A6AC...@campus.ccm.itesm.mx>...
> >"EDBEngineError with message 'key violation. [Oracle][ODBC Oracle
> >Driver]
> >[Oracle OCI] ORA-04031: unable to allocate 740 bytes of shared memory
> >("unknown object","sga General SQL error. hesp", "librerycache")!
> >Process stoped"

Re:Help with error ORA-04031 unable to allocate 740 bytes of shared memory


Ask your DBA to do it.  If you are "winging" it, you need to read about your
initialization file, which is named initorcl.ini by default but usually
renamed to correspond with the name of your database instance.

V/R
Russell L. Smith

Lourdes Leticia Cahuich Campos wrote in message
<365B551D.CDD5C...@campus.ccm.itesm.mx>...

Quote
>No, how can i do that?

Other Threads