Closed christo4nextria closed 2 months ago
We will look into it. Thanks for the detailed report!
I have pushed a patch that corrects this issue. If you are able to build from source you can verify that it works for you, too.
@anthony-tuininga thank you for looking into this and solving it quickly!
We will need a download to use in production code. Do you know what release will have this patch and an approximate timeframe?
This should be included in version 2.3 which is scheduled for sometime in the next few weeks. The exact timeframe is unknown at this point, though!
This issue was corrected in version 2.3.0, which was just released.
platform.platform: Linux UBUNUTU sys.maxsize > 2**32: True platform.python_version: 3.10.12 Oracle version: 23.4 FREE python-oracledb version: Version: 2.2.1
This problem causes a memory leak in the Oracle session process, eventually hitting the 2 GB PGA limit after about 50,000 dequeues.
Does your application call init_oracle_client()? => YES running Thick mode
Schema objects:
Load Queue with 50,000 records:
Test script:
Error printed :
Oracle trace files from automatic incident showing ILOC_KPDLOB
This is NOT complete log, only copy pasted relevant section - this will make sense to Oracle DBAs.
Same code with OBJECT type queue does NOT cause a memory leak with 50,000 or even 500,000 records.