It appears that the table export to CSV builds the export file content first in RAM before writing it to the specified file. If the table is very large the process is hitting the 2GB RAM limit of Windows 32bit applications. Then it crashes. No file gets written at all.