Export JSON for migration mysql 5 to 8 (Docker 5.5.99)

{"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 134217728 bytes exhausted (tried to allocate 3149824 bytes) at /var/www/app/app/Jobs/Company/CompanyExport.php:461) [stacktrace] #0 {main} "}

When I try to make a copy to migrate my installation on docker with mysql 5 to another one on docker with mysql 8, it does nothing at all. The file is not generated in the path “/app/public/storage/backups”, and the above appears in the Laravel log.

I’m stuck. I don’t know what to do.

You’ll want to increase the PHP memory from 128mb to at least 256mb