Attempted to read or write protected memory error

Tools

Attempted to read or write protected memory error

Hello,

I am pretty new to Teradata so I was hoping that somebody could give me some insight on a problem I am having. Using Teradata SQL Assistant, I am trying to load a text file (477MB) from my computer into a database on a server. The file is very large and the load always fails with a memory error when it has read in about 1.0-1.1 million of the rows. It does not make sense to me because I have 8GB of RAM and at the point that the error is thrown, only about 4GB of total RAM is used and Teradata is using about 1.7GB of it.

The code used is:

INSERT INTO DB_NAME.TABLE_NAME VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,DB_NAME.TIME_STAMP())

The error window is titled "Unable to open History database" and the error says "Attempted to read or write protected memory. This is often an indication that other memory is corrupt..."

The log says: 

12/10/2014 9:05:23 AM
SQLA Version: 13.10.0.2
System.AccessViolationException
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Office.Interop.Access.Dao.DBEngineClass.OpenDatabase(String Name, Object Options, Object ReadOnly, Object Connect)
at Teradata.SQLA.HistoryTbl.OpenDatabase() in F:\ttu1310_efix_snap\tdcli\qman\sqla\HistoryTbl.vb:line 508