Database Memory & 4030/4031 (MOSC)

MOSC Banner

ora-04036 with huge PL/SQL allocated memory in dbms_scheduler

edited Oct 25, 2018 9:54AM in Database Memory & 4030/4031 (MOSC) 5 commentsAnswered ✓

Hello everyone.

We run Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production, dedicated server mode on Linux x86_64. One of our dbms_scheduler jobs (PL/SQL code) fails with:

ORA-12012: error on auto execute of job "DATA"."CLASS_RECALC_JOB"ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMITORA-06512: at "API.PROCESSES_PKG", line 522ORA-06512: at "API.PROCESSES_PKG", line 267...PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT of 2048 MB

The related parameters are:

pga_aggregate_limit = 2848Mpga_aggregate_target = 0

From the trace file, just before the process/session being killed:

Summary of subheaps at depth 21801 MB total:  1801 MB commented, 122 KB permanent    96 KB free (20 KB in empty extents),    1436 MB, 92231 chunks:  "pl/sql vc2                "     362 MB, 23253 chunks:  "pmucalm coll              "

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center