cancel
Showing results for 
Search instead for 
Did you mean: 

What is the most appropriate setting for PHP's memory_limit

What is the most appropriate setting for PHP's memory_limit

I am on a VPS box with a total RAM of 3GB. I have dozens of hosts running on it. I am trying to install Magento 2 on the box now.

 

  • Magento 2.0.7 recommends PHP `memory_limit = 1G`
  • My server is configured at `memory_limit = 64M`

I want to restrict the memory increase to just the new host on the box and ideally only to the process(es) that need it.

 

Can you share with me:

  1. what would happen to Magento 2.x if I ran it with only 64M memory?
  2. what processes specifically require all this memory?

Thank you.