End of line encoding ?
Optimize updates in only one request and log error if insert is too huge