Skip to main content
edited body
Source Link
Shorabh
  • 1.5k
  • 12
  • 19

Increase the memory limit to update .php.ini file

If you have access to your php.ini file or can create one in the root, you can globally increase your allocated memory.

;adjust memory limit
memory_limit = 1G6G
max_execution_time = 36000
max_input_time = 36000

If you not want to update .php.ini file then use below command

php -dmemory_limit=6G bin/magento setup:static-content:deploy

Increase the memory limit to update .php.ini file

If you have access to your php.ini file or can create one in the root, you can globally increase your allocated memory.

;adjust memory limit
memory_limit = 1G
max_execution_time = 36000
max_input_time = 36000

If you not want to update .php.ini file then use below command

php -dmemory_limit=6G bin/magento setup:static-content:deploy

Increase the memory limit to update .php.ini file

If you have access to your php.ini file or can create one in the root, you can globally increase your allocated memory.

;adjust memory limit
memory_limit = 6G
max_execution_time = 36000
max_input_time = 36000

If you not want to update .php.ini file then use below command

php -dmemory_limit=6G bin/magento setup:static-content:deploy
Source Link
Shorabh
  • 1.5k
  • 12
  • 19

Increase the memory limit to update .php.ini file

If you have access to your php.ini file or can create one in the root, you can globally increase your allocated memory.

;adjust memory limit
memory_limit = 1G
max_execution_time = 36000
max_input_time = 36000

If you not want to update .php.ini file then use below command

php -dmemory_limit=6G bin/magento setup:static-content:deploy