Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index was outside the bounds of the array. When more than 100 K Data. #1345

Closed
7archers opened this issue Jul 1, 2019 · 1 comment
Closed
Labels

Comments

@7archers
Copy link

7archers commented Jul 1, 2019

I am using CsvHelper to convert datatable from csv file. When the csv data is less than 100 K than it is working fine. There is not any problem in to converting to DataTable. But if data is more than 105 K than it throw an error Index was outside the bounds of the array. Is 100 K maximum limit for csv data to convert using CsvHelper or i am missing something. Please help me out in this matter. i have attached a screenshot of my error.

To Reproduce
Steps to reproduce the behavior:

  1. Take a Csv file which contain more than 105 K data.
  2. try to convert this data in to data table as i have done. (You can check my screenshot.)
  3. See error

Expected behavior
I want that if my Csv file contain either 1 Data or 1 million data. It should run perfectly.

Screenshots
Index was outside the bounds of the array error in csvhelper

@7archers 7archers added the bug label Jul 1, 2019
@JoshClose
Copy link
Owner

CsvHelper can use an unlimited size of data. This could be related to issue #1250 which I just fixed and is in release 12.2.1 on nuget. Please give that a try and let me know if you're still having the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants