Describe the bug
When you try to run command via terminal you get following error:
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/vendor/magento/framework/Serialize/Serializer/Json.php on line 37
No matter what this error always happens. Any ideas about how to solve it?
Expected behavior
Command should work and not crash
To Reproduce
Run command:
bin/magento ok:urlrewrites:regenerate
or
bin/magento ok:urlrewrites:regenerate --entity-type=product --store-id=2
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug When you try to run command via terminal you get following error:
No matter what this error always happens. Any ideas about how to solve it?
Expected behavior Command should work and not crash
To Reproduce Run command: bin/magento ok:urlrewrites:regenerate or bin/magento ok:urlrewrites:regenerate --entity-type=product --store-id=2
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Magento 2.3.5-p2 Warden box 4 Cores 6 GB RAM