-
I'm trying to export xlsx file that includes around 100,000 rows for 12 months each sheet take one month in laravel 8 using Maatwebsite Excel This process takes around 15~30 mint, So I use a queue in laravel excel in order to keep the job run in the background and notify the user when it finishes. During the process If I run
What I try to dose and not work with me 1- changing 2- changing the Also, I notice all exported files stop at size The code to export use queue class MarkupAccountsYears
Class MarkupAccount
Class MarkupAccount
Controller
Is there any way to solve this issue or I'm doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Would recommend not using the built-in queue feature, as it has to reopen the file every chunk causing much more memory than needed. Try creating your own queue job and put the export in there, extending the default timeout and memory usage in that job. |
Beta Was this translation helpful? Give feedback.
-
I fix the problem by increasing the
|
Beta Was this translation helpful? Give feedback.
I fix the problem by increasing the
memory_limit
inphp.ini in php folder
, I was editing thephp.ini in the apache folder
%wamp%\bin\php\phpx.x.x\php.ini not under %wamp%\bin\apache\apachex.x.x\php.ini