Migrate v4 to v5

I got this error during migration but also received the email that migration succeeded.
Did enough of the migration happen or do I need to fix something and try the migration again?

[2022-01-30 00:00:02] production.INFO: updating currencies
[2022-01-30 00:30:00] production.INFO: Performing Autobilling 2022-01-30 12:30:00
[2022-01-31 00:00:02] production.INFO: updating currencies
[2022-01-31 00:30:00] production.INFO: Performing Autobilling 2022-01-31 12:30:00
[2022-02-03 21:18:05] production.INFO: Importing account
[2022-02-03 21:18:05] production.INFO: Importing company
[2022-02-03 21:18:06] production.INFO: Importing users
[2022-02-03 21:18:06] production.INFO: Importing payment_terms
[2022-02-03 21:18:06] production.INFO: Importing tax_rates
[2022-02-03 21:18:06] production.INFO: Importing clients
[2022-02-03 21:19:06] production.INFO: Importing company_gateways
[2022-02-03 21:19:07] production.INFO: Importing client_gateway_tokens
[2022-02-03 21:19:07] production.INFO: Importing vendors
[2022-02-03 21:19:07] production.INFO: Importing projects
[2022-02-03 21:19:07] production.INFO: Importing products
[2022-02-03 21:19:10] production.INFO: Importing credits
[2022-02-03 21:19:10] production.INFO: Importing recurring_invoices
[2022-02-03 21:19:26] production.INFO: Importing invoices
[2022-02-03 21:24:04] production.INFO: Importing quotes
[2022-02-03 21:24:47] production.INFO: Importing payments
[2022-02-03 21:30:40] production.INFO: Importing expense_categories
[2022-02-03 21:30:40] production.INFO: Importing task_statuses
[2022-02-03 21:30:40] production.INFO: in task statuses
[2022-02-03 21:30:40] production.INFO: finished task statuses
[2022-02-03 21:30:40] production.INFO: Importing expenses
[2022-02-03 21:30:40] production.INFO: Importing recurring_expenses
[2022-02-03 21:30:40] production.INFO: Importing tasks
[2022-02-03 21:30:44] production.INFO: Importing documents
[2022-02-03 21:31:09] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40554496 bytes) {“userId”:1,“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 40554496 bytes) at /var/www/app/vendor/laravel/framework/src/Illuminate/Queue/Queue.php:105)
[stacktrace]
#0 {main}
"}

Hi,

From the error it looks like increasing the PHP memory limit may help.

Increasing the PHP memory limit worked, I did it for the v4 container and the v5 container. Not sure if both needed it.