While trying to execute a run during the migration from Shopware 5 to Shopware 6 a memory_limit exceeded error occurs. The migration assistant crashes during the "reading" state.
Trying to increase the memory limit does not work. Also only selecting products or only orders does not work.
Usually this error occurs, if the Shopware 6 application is in "dev" mode.
Try to set the
APP_ENVvariable in the.envfile to "prod"