Hi,
You should try this by passing the date range. I would say export year by year that way it won't take long and also you won't notice memory errors.

In the control room also you can pass the date range on the Created date field to only export data for a year, check
this guide here for more,

Also, you can try
Queue Report VBO to export the data if that helps.
Let us know how it goes and if you need further help.
------------------------------
If I was of assistance, please vote for it to be the "Best Answer".
Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------