database report ORA-04030: process out of memory while trying to allocate xxx bytes (kxs-heap-c, AAA)

Scenario: Oracle database, when too many in conditions are used in SQL, and the number of paging queries reaches 5000, ORA-04030 will be reported: Insufficient process memory when trying to allocate 2536 bytes (kxs-heap-c, temporary memory)!
10.2.0.2 reports ora-04030, when trying to allocate xxx bytes
aix53+10.2.0.2, the application is doing a business, the database reports ORA-04030: When trying to allocate xxx bytes (kxs-heap-c, AAA), the process Not enough storage. Each time xxx is different, there are many kinds of AAA, such as: "temporary memory", "qkkele" and so on.

Metalink searched and searched, and finally found the cause, it was a bug. Similar to Bug 5391505. related to or.
A patch will be released in 10.2.0.4, currently it can only be solved temporarily by the following methods:
alter system set optimizer_features_enable='9.2.0' scope=both sid='*';
10G database, enable 9I features
and then run the application, ok .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326485646&siteId=291194637