python/redhat 7/odbc running into HY001, Memory Allocation Error

Connectivity
Connectivity covers the mechanisms for connecting to the Teradata Database, including driver connectivity via JDBC or ODBC.
ai
N/A

python/redhat 7/odbc running into HY001, Memory Allocation Error

When running Python script on Red Hat that utilizes Teradata ODBC  tdodbc1510-15.10.01.04-1.noarc

drivers our process runs into the following:

 

Error:

teradata.api.DatabaseError: (0, '[HY001] [Teradata][ODBC Teradata Driver] Memory allocation error')

[2017-05-02 15:41:49,951][TeradataClient][ERROR]:Error inserting data into MDH in table Assays: (0, '[HY001] [Teradata][ODBC Teradata Driver] Memory allocation error')

 

syslogd contains:

May  2 15:41:49  **bleep** tdodbc[21671]: Exception type: OS_AllocFailure : SQLExecute 1 : Memory allocation error

 

The system running the python has around 70gb of physical RAM available at the point of the error. We do have a largish transaction and run a lot of batched inserts, but the same dataset can be inserted into another database with no issues. Unfortunately the error seem to indicate problem with ODBC memory and not the database.

 

Has anyone seen it before?  How one can make sure that it's not some sort of weird interpretation of the backend/server error that happens in the ODBC drivers? And if it is truly ODBC error, what would be the next step? At this point the error is pretty repeatable.

 

Thank you.

 

 

 

System:

RedHat 

3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

RAM: 128Gb