List view CSV export goes out of memory
If you have many records, the CSV export will use all available menory and throw an error.
Steps to reproduce:
1. Go to list module
2. Select folder with many records e.g. fe_users
3. click on the table header to open a "single table mode"
4. click on the export icon
you'll get a out of memory error
The code handling the export is in
and when exporting csv it's not using pagination, but removes query limit.