Hi Chiaki,
I had similar issues with importing using the flat file importer and what I did was use the community commons function module from the App Store.
There are a few Java actions that can help you with running the import or export in the background, for example:
I also processed the imported data in batches. You can learn about how to deal with batches in the Advanced online lecture Win at Working with Data: https://gettingstarted.mendixcloud.com/link/path/3 then module Data in Microflows: https://gettingstarted.mendixcloud.com/link/module/21/lecture/204.
I would use the batches and running in the background to process the import but also generate the export file and give the user a link to download when the export document is ready for downloading.
I hope this will help you achieve your goal to import 70.000 records and exporting them as well.
Kind regards
There is so much functionality that you will be re-inventing when building it via the community commons function module. I would advise to fork the 'Flat & delimited file import'-App on Github, get the problem solved and create a pull-request for it. In that way, we all benefit.
How to solve the problem? Have a look at Jeffrey's tips.