Memory issues processing and writing a large file

A post was split to a new topic: Converting CSV to mysql causes error with blank csv columns