to_stata Crashing on large Datasets
I have a CSV file which is around 10 million records and I can read that fine into a dataframe but when I try to execute the command:

df.to_stata(outfile,write_index=False)

I get a Memory Error. 
Is there any way to overcome this issue? 

Thanks