-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
I have quite a sparse dataset in CSV format. A wide table that has several rows but many (32k) columns. Total size ~540K.
When I read the dataset using pyarrow.csv.read_csv it hangs, gradually eats all memory and gets killed.
More details on the conditions further. Script to run and all mentioned files are under attachments.
-
sample_32769_cols.csvis the dataset that suffers the problem. -
sample_32768_cols.csvis the dataset that DOES NOT suffer and is read in under 400ms on my machine. It's the same dataset without ONE last column. That last column is no different than others and has empty values.
The reason of why exactly this column makes difference between proper execution and hanging failure which looks like some memory leak - no idea.
I have created flame graph for the case (1) to support this issue resolution (graph.svg).
Environment: Ubuntu Xenial, python 2.7
Reporter: Bogdan Klichuk
Assignee: Micah Kornfield / @emkornfield
Original Issue Attachments:
PRs and other links:
Note: This issue was originally created as ARROW-5791. Please see the migration documentation for further details.