PHP servers use the memory limit parameter to determine the absolute maximum memory allocation for each executing PHP script. The PHP memory limit works as a safety mechanism that protects your server from crashing when scripts exceed server capacity.
PHP resource control
Tune PHP memory and performance on Voxfor ...