I have set up Laravel queue to read excel files using your Laravel excel and it works great for small files.
But for large files (100+mb) and 400k+ records, it takes too much time and consumes almost 40GB RAM of the server.
I have set up a supervisor to run queue: work command. My server RAM is 60GB. For small files, it all works fine but it's not working for large files.
I have also checked query times by using telescope but no query is taking large times.
For all those who are facing such issue, i suggest to use Spout. It works like charm. I have tried 3 PHP services for this and in the end, only spout worked.
https://opensource.box.com/spout/
https://github.com/box/spout