My Oracle Support Banner

Error ORA-04031 in the Shared Pool with Huge Allocation in Memory Type "PRTMV" (Doc ID 2628958.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Received error ORA-04031 in "shared pool" with memory type "PRTMV". For example,

ORA-04031: unable to allocate 4088 bytes of shared memory ("shared pool",...,"PRTMV^####","...")

Top pool memory allocations in shared pool shows as "PRTMV":

select name, round((bytes/1024/1024),0) MB
from v$sgastat where pool='shared pool'
and bytes > 10000000
order by bytes desc
/

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.