1

I tried to deploy static content of magento 2 but php memory limit exceed error pops up every time. Even my cron jobs are not running it giving me the same error in cron.log files.

Rohit
  • 33
  • 6

1 Answers1

2

You can use php -d memory_limit=2G in every command you run as a temporary solution to your problem but for permanent solution you must go for change in your php.ini file max_memory_limit to somewhat according to your requirement for Magento it must be minimum 765MB but you can give 2G for better functionality.

Manish Kumar
  • 208
  • 1
  • 8