There is probably memory leak when using nested varray and call function which return ref cursor. Problem occur only if some of nested records are NULL.
Python 3.6.7 64 bit (windows 10 64bit + linux Ubuntu 16.04 64bit)
cx_Oracle 7.1.3, 7.1.2
Oracle 12.2, 11.2
cxtest.zip