error on importing large resource

error on importing large resource


I'm trying to import a large csv so i can import the records within after that with csvUtil.
The csv is 240mb and has 16 million records.
When i add it to the resources and press publish, outsystems gives an error screen and asking to send feedback to the outsystems team.

Anyone got an idea how to import large resources without errors?
Hi Steve,

With such a large resource you shouldn't even use it as a resource (as every time you'd publish you'd be sending 240mb to the server).

instead you should implement the logic of import using a smaller file and then change it to fetch the file from some place in runtime, putting it on a temporary folder, process it and then delete it.

Hope this helps