Lorsque j'essaie de lire les données d'un champ lob en utilisant cx_Oralce, je reçois "exceptions.MemoryError". Ce code a fonctionné, ce champ de lob semble être trop grand.cx_Oracle MemoryError lors de la lecture de lob
Example:
xml_cursor = ora_connection.cursor()
xml_cursor.arraysize = 2000
try:
xml_cursor.execute(“select xml_data from xmlTable where id = 1”)
for row_data in xml_cursor.fetchall():
str_xml = str(row_data[0]) #this throws “exceptions.MemoryError”