ORA-22813 when running utPLSQL with code coverage #1352
Unanswered
PhilippSalvisberg
asked this question in
Feature Requests
Replies: 1 comment
|
It seems like rebuild of how coverage is handled is inevitable |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Running utPLSQL with code coverage fails with ORA-22813, most probably due to a very large result set.
Provide version info
Version 19.26.0.0.0
Additional context
IMO it is very difficult to reproduce in a different environment. However the following information should point to the root cause
Call Stack:
The error is thrown here.
So the problem is most probably that the arraysize of
a_text_listis exceeding the limit. I don't know what the limit is, it was once4177919according to Bug 19720346 - ORA-22813: operand value exceeds system limits on TABLE() collection (Doc ID 19720346.8). The bug was fixed in 12.2. The bug contains a test case. I ran the following:which causes
Suggested Solution Approach
We know the limit lies somewhere between
4177919and41779190. IMO it does not make sense to determine the exact limit or open an SR. Instead I suggest to change the code so that the array to be written to the table does not get that large since this might become also a memory issue.Notes
The issue sounds similar to #368 where also an ORA-22813 is thrown. Looks like a similar issue in another code area but otherwise unrelated to this issue.
All reactions