My Oracle Support Banner

Custom SQL Script Fails With ORA-4030 Calling Public API In Loops (Doc ID 1069291.1)

Last updated on OCTOBER 26, 2020

Applies to:

Oracle Assets - Version 11.5.10.0 to 11.5.10.2 [Release 11.5]
Information in this document applies to any platform.
API

Symptoms

An SQL script calling an API in a loop for a number of assets fails with ORA-4030 after a batch of assets is processed.  The batch is of similar size each time the SQL script is run.

ERROR
-----
declare
*
ERROR at line 1:
ORA-04030: out of process memory when trying to allocate 16408 bytes (koh-kghu
sessi,pl/sql vc2)
ORA-06500: PL/SQL: storage error
ORA-04030: out of process memory when trying to allocate 16408 bytes (koh-kghu
sessi,pmuccst: adt/record)

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
Cause
Solution

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