Executing a BULKCOPY with the Default BatchSize when the Number of Data Rows is Greater than 10,000 Fails With: System.AccessViolationException (Doc ID 1249291.1)

Last updated on JUNE 23, 2011

Applies to:

Oracle Data Provider for .NET - Version: 10.2.0.5 to 11.2.0.1 - Release: to 11.2
Generic Windows

Symptoms

Executing a BULKCOPY using the OracleBulkCopy class with the Default BatchSize when the number of data rows is greater than 10,000 Fails With:

System.AccessViolationException

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms