If you receive the message Allowed memory size of 123456789 bytes exhausted during Magento 2 compilation, you can try increasing the available memory by specifying -dmemory_limit=5G . The command might look like this:
|
1 |
php -dmemory_limit=5G bin/magento setup:di:compile |
Fixing Allowed memory size exhausted during compilation
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.