ORA-4031 Error During Execution Of Java Grants

(Doc ID 1055927.1)

Last updated on JANUARY 29, 2010

Applies to:

Oracle Server - Standard Edition - Version: to - Release: 8.1.6 to 11.2
Information in this document applies to any platform.


ORA-04031 errors occur such as:

ORA-04031: unable to allocate 4096 bytes of shared memory ("java pool","JAVA$POLICY$SHARED$00002b4fSYS","joxlod exec hp",":SROState")

The trace file shows high memory usage for memory allocations of "joxlod exec hp" in the java pool, e.g.:

"joxlod exec hp " 436544640


Repeated DBMS_JAVA.GRANT_PERMISSION calls have been executed.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms